dockerfiles/scudcloud/Dockerfile
Jessica Frazelle 255a334f1d add slack
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-09-24 18:15:41 -07:00

39 lines
911 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 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"]