Skip to content

Instantly share code, notes, and snippets.

@alastairhm
Forked from alexellis/Dockerfile.slack
Last active August 12, 2016 10:47
Show Gist options
  • Save alastairhm/49124a968e482f91835bd581541a5f3f to your computer and use it in GitHub Desktop.
Save alastairhm/49124a968e482f91835bd581541a5f3f to your computer and use it in GitHub Desktop.
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"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment