-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathDockerfile
More file actions
20 lines (17 loc) · 817 Bytes
/
Dockerfile
File metadata and controls
20 lines (17 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM sameersbn/ubuntu:14.04.20151213
MAINTAINER sameer@damagehead.com
ENV RYGEL_CACHE_DIR=/root/.cache/rygel \
RYGEL_VIDEOS_DIR=/videos \
RYGEL_MUSIC_DIR=/music \
RYGEL_PICTURES_DIR=/pictures
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv B84401E3 \
&& echo "deb http://ppa.launchpad.net/yg-jensge/gupnp/ubuntu trusty main" >> /etc/apt/sources.list \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y rygel tumbler gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-ugly gstreamer1.0-libav \
&& rm -rf /var/lib/apt/lists/*
COPY rygel.conf /root/.config/
EXPOSE 8000/tcp 1900/udp
VOLUME ["${RYGEL_CACHE_DIR}", "${RYGEL_VIDEOS_DIR}", "${RYGEL_MUSIC_DIR}", "${RYGEL_PICTURES_DIR}"]
CMD ["/usr/bin/rygel" ]