Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Slack Dockerfile for 2.1.0
FROM debian:stretch
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
RUN apt-get update && apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gconf2 \
gconf-service \
gvfs-bin \
hunspell-en-us \
libasound2 \
libgtk2.0-0 \
libnotify4 \
libnss3 \
libxss1 \
libxtst6 \
locales \
python \
xdg-utils \
libgnome-keyring0 \
gir1.2-gnomekeyring-1.0 \
libappindicator1 \
--no-install-recommends
&& rm -rf /var/lib/apt/lists/*
RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
&& locale-gen en_US.utf8 \
&& /usr/sbin/update-locale LANG=en_US.UTF-8
ADD ./slack-desktop-2.1.0-amd64.deb ./
RUN dpkg -i slack-desktop-2.1.0-amd64.deb
ENTRYPOINT ["slack"]

kkdai commented Aug 7, 2016

Hi
#27 line && will introduce docker build error.
#29 line has extra space after \, please help to fix it.

aritbd commented Feb 25, 2017

Add " **" to the end of line 26, like so "--no-install-recommends **", to be able to run it. Fixed it for me.

I am on:
OS: Mac OSX Seirra
zsh: zsh 5.2 (x86_64-apple-darwin16.0)
brew: Homebrew 1.1.10
docker: Docker version 1.13.1, build 092cba3

Hope it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment