We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9033821 commit 097b6c5Copy full SHA for 097b6c5
1 file changed
Dockerfile
@@ -1,6 +1,9 @@
1
FROM lsiobase/xenial
2
MAINTAINER Stian Larsen, sparklyballs
3
4
+# package version
5
+ARG PLEX_WWW="https://plex.tv/downloads/latest/1?channel=8&build=linux-ubuntu-x86_64&distro=ubuntu"
6
+
7
# global environment settings
8
ENV DEBIAN_FRONTEND="noninteractive"
9
ENV HOME="/config"
@@ -13,6 +16,7 @@ RUN \
13
16
dbus \
14
17
less \
15
18
wget && \
19
20
# cleanup
21
apt-get clean && \
22
rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*
@@ -21,9 +25,9 @@ RUN \
25
RUN \
26
curl -o \
23
27
/tmp/plexmediaserver.deb -L \
24
- 'https://plex.tv/downloads/latest/1?channel=8&build=linux-ubuntu-x86_64&distro=ubuntu' && \
28
+ "${PLEX_WWW}" && \
29
dpkg -i /tmp/plexmediaserver.deb && \
- rm -f /tmp/plexmediaserver.deb
30
+ rm -f /tmp/*
31
32
# add local files
33
COPY root/ /
0 commit comments