2015-06-07 16:12:11 +02:00
|
|
|
# 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 \
|
2015-06-18 03:37:33 +02:00
|
|
|
# jess/vlc
|
2015-06-07 16:12:11 +02:00
|
|
|
#
|
2017-11-30 16:44:55 +01:00
|
|
|
FROM debian:buster
|
2017-03-09 19:14:37 +01:00
|
|
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
2015-06-07 16:12:11 +02:00
|
|
|
|
|
|
|
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 \
|
2015-07-07 22:55:42 +02:00
|
|
|
&& chown -R vlc:vlc $HOME \
|
|
|
|
&& usermod -a -G audio,video vlc
|
2015-06-07 16:12:11 +02:00
|
|
|
|
|
|
|
WORKDIR $HOME
|
|
|
|
USER vlc
|
|
|
|
|
|
|
|
ENTRYPOINT [ "vlc" ]
|