You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docker-plex/Dockerfile

33 lines
682 B

FROM lsiobase/xenial
9 years ago
MAINTAINER Stian Larsen, sparklyballs
9 years ago
# global environment settings
ENV DEBIAN_FRONTEND="noninteractive"
ENV HOME="/config"
9 years ago
# install packages
RUN \
apt-get update && \
apt-get install -y \
avahi-daemon \
dbus \
wget && \
# cleanup
apt-get clean && \
rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*
# install plex
RUN \
curl -o \
/tmp/plexmediaserver.deb -L \
'https://plex.tv/downloads/latest/1?channel=8&build=linux-ubuntu-x86_64&distro=ubuntu' && \
dpkg -i /tmp/plexmediaserver.deb && \
rm -f /tmp/plexmediaserver.deb
# add local files
COPY root/ /
# ports and volumes
VOLUME /config
EXPOSE 32400 32400/udp 32469 32469/udp 5353/udp 1900/udp