update slack

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
Jessica Frazelle 2016-03-19 14:09:14 -07:00
parent 20f095aa0a
commit b14cf2da10
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -5,12 +5,16 @@
# -v /tmp/.X11-unix:/tmp/.X11-unix \ # -v /tmp/.X11-unix:/tmp/.X11-unix \
# -e DISPLAY=unix$DISPLAY \ # -e DISPLAY=unix$DISPLAY \
# --device /dev/snd:/dev/snd \ # --device /dev/snd:/dev/snd \
# --device /dev/dri:/dev/dri \
# --name slack \ # --name slack \
# jess/slack # jess/slack
FROM debian:sid FROM debian:stretch
MAINTAINER Jessie Frazelle <jess@linux.com> MAINTAINER Jessie Frazelle <jess@linux.com>
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
apt-transport-https \ apt-transport-https \
ca-certificates \ ca-certificates \
@ -26,18 +30,19 @@ RUN apt-get update && apt-get install -y \
libxss1 \ libxss1 \
libxtst6 \ libxtst6 \
locales \ locales \
python-minimal \ python \
xdg-utils \ xdg-utils \
--no-install-recommends \ --no-install-recommends \
&& echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \ && rm -rf /var/lib/apt/lists/*
RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
&& locale-gen en_US.utf8 \ && locale-gen en_US.utf8 \
&& /usr/sbin/update-locale LANG=en_US.UTF-8 \ && /usr/sbin/update-locale LANG=en_US.UTF-8
&& curl -sSL https://slack-ssb-updates.global.ssl.fastly.net/linux_releases/slack-desktop-1.2.2-amd64.deb > /tmp/slack-desktop.deb \
ENV SLACK_VERSION 2.0.1
RUN curl -sSL "https://slack-ssb-updates.global.ssl.fastly.net/linux_releases/slack-desktop-${SLACK_VERSION}-amd64.deb" > /tmp/slack-desktop.deb \
&& dpkg -i /tmp/slack-desktop.deb \ && dpkg -i /tmp/slack-desktop.deb \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /tmp/slack-desktop.deb && rm -rf /tmp/slack-desktop.deb
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENTRYPOINT ["slack"] ENTRYPOINT ["slack"]