mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
update slack
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
parent
20f095aa0a
commit
b14cf2da10
|
@ -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"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user