|
|
@ -1,6 +1,9 @@
|
|
|
|
FROM lsiobase/xenial
|
|
|
|
FROM lsiobase/xenial
|
|
|
|
MAINTAINER Stian Larsen, sparklyballs
|
|
|
|
MAINTAINER Stian Larsen, sparklyballs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# package version
|
|
|
|
|
|
|
|
ARG PLEX_WWW="https://plex.tv/downloads/latest/1?channel=8&build=linux-ubuntu-x86_64&distro=ubuntu"
|
|
|
|
|
|
|
|
|
|
|
|
# global environment settings
|
|
|
|
# global environment settings
|
|
|
|
ENV DEBIAN_FRONTEND="noninteractive"
|
|
|
|
ENV DEBIAN_FRONTEND="noninteractive"
|
|
|
|
ENV HOME="/config"
|
|
|
|
ENV HOME="/config"
|
|
|
@ -13,6 +16,7 @@ RUN \
|
|
|
|
dbus \
|
|
|
|
dbus \
|
|
|
|
less \
|
|
|
|
less \
|
|
|
|
wget && \
|
|
|
|
wget && \
|
|
|
|
|
|
|
|
|
|
|
|
# cleanup
|
|
|
|
# cleanup
|
|
|
|
apt-get clean && \
|
|
|
|
apt-get clean && \
|
|
|
|
rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*
|
|
|
|
rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*
|
|
|
@ -21,9 +25,9 @@ RUN \
|
|
|
|
RUN \
|
|
|
|
RUN \
|
|
|
|
curl -o \
|
|
|
|
curl -o \
|
|
|
|
/tmp/plexmediaserver.deb -L \
|
|
|
|
/tmp/plexmediaserver.deb -L \
|
|
|
|
'https://plex.tv/downloads/latest/1?channel=8&build=linux-ubuntu-x86_64&distro=ubuntu' && \
|
|
|
|
"${PLEX_WWW}" && \
|
|
|
|
dpkg -i /tmp/plexmediaserver.deb && \
|
|
|
|
dpkg -i /tmp/plexmediaserver.deb && \
|
|
|
|
rm -f /tmp/plexmediaserver.deb
|
|
|
|
rm -f /tmp/*
|
|
|
|
|
|
|
|
|
|
|
|
# add local files
|
|
|
|
# add local files
|
|
|
|
COPY root/ /
|
|
|
|
COPY root/ /
|
|
|
|