docker-plex-wireguard/Dockerfile

39 lines
746 B
Text
Raw Normal View History

2016-07-01 04:04:51 +01:00
FROM lsiobase/xenial
2016-06-30 22:59:35 +01:00
MAINTAINER Stian Larsen, sparklyballs
2015-05-10 10:50:00 +02:00
# package version
ENV PLEX_URL="https://plex.tv/downloads"
ARG PLEX_WWW="${PLEX_URL}/latest/1?channel=8&build=linux-ubuntu-x86_64&distro=ubuntu"
2016-06-30 22:59:35 +01:00
# global environment settings
ENV DEBIAN_FRONTEND="noninteractive"
ENV HOME="/config"
2015-05-10 10:50:00 +02:00
2016-06-30 22:59:35 +01:00
# install packages
RUN \
apt-get update && \
apt-get install -y \
avahi-daemon \
dbus \
2016-07-02 20:15:50 +01:00
less \
2016-06-30 22:59:35 +01:00
wget && \
2016-06-30 22:59:35 +01:00
# cleanup
apt-get clean && \
rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*
# install plex
RUN \
curl -o \
/tmp/plexmediaserver.deb -L \
"${PLEX_WWW}" && \
2016-06-30 22:59:35 +01:00
dpkg -i /tmp/plexmediaserver.deb && \
rm -f /tmp/*
2016-06-30 22:59:35 +01:00
# add local files
COPY root/ /
# ports and volumes
VOLUME /config
EXPOSE 32400 32400/udp 32469 32469/udp 5353/udp 1900/udp