mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 19:32:30 +01:00
dd4da853eb
Signed-off-by: Jessica Frazelle <princess@docker.com>
39 lines
904 B
Docker
39 lines
904 B
Docker
# 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 slack \
|
|
# jess/slack
|
|
|
|
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"]
|