use variable for initial plex install url
This commit is contained in:
parent
90338212f6
commit
097b6c57ed
1 changed files with 6 additions and 2 deletions
|
|
@ -1,6 +1,9 @@
|
|||
FROM lsiobase/xenial
|
||||
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
|
||||
ENV DEBIAN_FRONTEND="noninteractive"
|
||||
ENV HOME="/config"
|
||||
|
|
@ -13,6 +16,7 @@ RUN \
|
|||
dbus \
|
||||
less \
|
||||
wget && \
|
||||
|
||||
# cleanup
|
||||
apt-get clean && \
|
||||
rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*
|
||||
|
|
@ -21,9 +25,9 @@ RUN \
|
|||
RUN \
|
||||
curl -o \
|
||||
/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 && \
|
||||
rm -f /tmp/plexmediaserver.deb
|
||||
rm -f /tmp/*
|
||||
|
||||
# add local files
|
||||
COPY root/ /
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue