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

41 lines
834 B

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