dockerfiles/vlc/Dockerfile
Jessica Frazelle 1b1b7bf5e1 vlc
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-08-17 15:23:37 -07:00

31 lines
607 B
Docker

# VLC media player
#
# docker run -d \
# -v /etc/localtime:/etc/localtime:ro \
# --device /dev/snd \
# --device /dev/dri \
# -v /tmp/.X11-unix:/tmp/.X11-unix \
# -e DISPLAY=unix$DISPLAY \
# --name vlc \
# jess/vlc
#
FROM debian:jessie
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apt-get update && apt-get install -y \
libgl1-mesa-dri \
libgl1-mesa-glx \
vlc \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
ENV HOME /home/vlc
RUN useradd --create-home --home-dir $HOME vlc \
&& chown -R vlc:vlc $HOME \
&& usermod -a -G audio,video vlc
WORKDIR $HOME
USER vlc
ENTRYPOINT [ "vlc" ]