File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,11 +3,9 @@ MAINTAINER Stian Larsen <lonixx@gmail.com>
33
44# Install Plex
55RUN apt-get -q update && \
6- PLEXURL=$(curl -s https://tools.linuxserver.io/latest-plex.json| grep "ubuntu64" | cut -d '"' -f 4) && \
76apt-get install -qy dbus avahi-daemon wget && \
8- wget -P /tmp "$PLEXURL" && \
9- dpkg -i /tmp/plexmediaserver_*_amd64.deb && \
10- rm -f /tmp/plexmediaserver_*_amd64.deb && \
7+ curl -L 'https://plex.tv/downloads/latest/1?channel=8&build=linux-ubuntu-x86_64&distro=ubuntu' -o /tmp/plexmediaserver.deb && \
8+ dpkg -i /tmp/plexmediaserver.deb && rm -f /tmp/plexmediaserver.deb && \
119apt-get clean && \
1210rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
1311
@@ -18,7 +16,7 @@ COPY services/ /etc/service/
1816RUN chmod -v +x /etc/service/*/run /etc/my_init.d/*.sh
1917
2018# Define /config in the configuration file not using environment variables
21- ADD plexmediaserver /defaults/plexmediaserver
19+ COPY plexmediaserver /defaults/plexmediaserver
2220
2321# Mappings and ports
2422VOLUME ["/config" , "/transcode" ]
You can’t perform that action at this time.
0 commit comments