add slack

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
Jessica Frazelle 2015-09-24 18:04:41 -07:00
parent ed5b9a62dd
commit 255a334f1d
4 changed files with 95 additions and 20 deletions

38
scudcloud/Dockerfile Normal file
View File

@ -0,0 +1,38 @@
# To use:
# Needs X11 socket and dbus mounted
#
# docker run --rm -it \
# -v /etc/machine-id:/etc/machine-id:ro \
# -v /etc/localtime:/etc/localtime:ro \
# -v /tmp/.X11-unix:/tmp/.X11-unix \
# -e DISPLAY=unix$DISPLAY \
# --device /dev/snd:/dev/snd \
# -v /var/run/dbus:/var/run/dbus \
# -v $HOME/.scudcloud:/home/user/.config/scudcloud \
# --name scudcloud \
# jess/scudcloud
FROM ubuntu:14.04
MAINTAINER Jessie Frazelle <jess@linux.com>
RUN apt-get update && apt-get install -y \
dbus-x11 \
hunspell-en-us \
libnotify-bin \
python3-dbus \
software-properties-common \
--no-install-recommends && \
apt-add-repository -y ppa:rael-gc/scudcloud && \
apt-get update && \
apt-get install -y \
scudcloud \
&& rm -rf /var/lib/apt/lists/*
ENV LANG en_US.UTF-8
ENV HOME /home/user
RUN useradd --create-home --home-dir $HOME user \
&& chown -R user:user $HOME
USER user
ENTRYPOINT ["/usr/bin/scudcloud"]

View File

@ -1,33 +1,42 @@
# To use: # Run slack desktop app in a container
# Needs X11 socket and dbus mounted #
#
# docker run --rm -it \ # docker run --rm -it \
# -v /etc/machine-id:/etc/machine-id:ro \
# -v /etc/localtime:/etc/localtime:ro \ # -v /etc/localtime:/etc/localtime:ro \
# -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 \
# -v /var/run/dbus:/var/run/dbus \
# -v $HOME/.scudcloud:/home/user/.config/scudcloud \
# --name slack \ # --name slack \
# jess/slack # jess/slack
FROM ubuntu:14.04 FROM debian:sid
MAINTAINER Jessie Frazelle <jess@linux.com> MAINTAINER Jessie Frazelle <jess@linux.com>
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
dbus-x11 \ apt-transport-https \
hunspell-en-us \ ca-certificates \
libnotify-bin \ curl \
python3-dbus \ gconf2 \
software-properties-common \ gconf-service \
--no-install-recommends && \ gvfs-bin \
apt-add-repository -y ppa:rael-gc/scudcloud && \ libasound2 \
apt-get update && \ libgtk2.0-0 \
apt-get install -y \ libnotify4 \
scudcloud \ libnss3 \
&& rm -rf /var/lib/apt/lists/* libxss1 \
libxtst6 \
locales \
python-minimal \
xdg-utils \
--no-install-recommends \
&& echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
&& locale-gen en_US.utf8 \
&& /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 \
&& dpkg -i /tmp/slack-desktop.deb \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /tmp/slack-desktop.deb
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8 ENV LANG en_US.UTF-8
ENV HOME /home/user ENV HOME /home/user
RUN useradd --create-home --home-dir $HOME user \ RUN useradd --create-home --home-dir $HOME user \
@ -35,4 +44,4 @@ RUN useradd --create-home --home-dir $HOME user \
USER user USER user
ENTRYPOINT ["/usr/bin/scudcloud"] ENTRYPOINT ["slack"]

View File

@ -12,7 +12,7 @@
FROM jess/wine FROM jess/wine
MAINTAINER Jessie Frazelle <jess@linux.com> MAINTAINER Jessie Frazelle <jess@linux.com>
COPY SpotifySetup.exe /usr/src/SpotifySetup.exe ADD https://d1clcicqv97n4s.cloudfront.net/ctrl/SpotifySetup.exe /usr/src/SpotifySetup.exe
RUN echo "wine /usr/src/SpotifySetup.exe" > /root/.bash_history RUN echo "wine /usr/src/SpotifySetup.exe" > /root/.bash_history

28
watchman/Dockerfile Normal file
View File

@ -0,0 +1,28 @@
FROM debian:sid
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apt-get update && apt-get install -y \
ca-certificates \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
RUN buildDeps=' \
autoconf \
automake \
clang \
git \
make \
' \
&& set -x \
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& git clone https://github.com/facebook/watchman.git /usr/src/watchman \
&& cd /usr/src/watchman \
&& ./autogen.sh \
&& ./configure \
&& make \
&& make install \
&& rm -rf /usr/src/watchmen \
&& apt-get purge -y --auto-remove $buildDeps
ENTRYPOINT [ "watchman" ]