2
0
mirror of https://github.com/spritsail/plex-media-server.git synced 2024-12-20 11:34:36 +00:00

No longer hard code Plex download URL

This commit is contained in:
Adam Dodman 2017-07-09 21:40:03 +01:00
parent c70a12cc1d
commit cada6004dd

View File

@ -13,7 +13,8 @@ RUN wget http://ftp.de.debian.org/debian/pool/main/g/gcc-4.9/libstdc++6_4.9.2-10
# We only need the lib files, everything else is debian junk. # We only need the lib files, everything else is debian junk.
&& mv /tmp/usr/lib/x86_64-linux-gnu/* /lib \ && mv /tmp/usr/lib/x86_64-linux-gnu/* /lib \
&& mv /tmp/lib/x86_64-linux-gnu/* /lib \ && mv /tmp/lib/x86_64-linux-gnu/* /lib \
&& wget -O plexmediaserver.deb "https://downloads.plex.tv/plex-media-server/1.7.4.4017-3886b5c85/plexmediaserver_1.7.4.4017-3886b5c85_amd64.deb" \ && export PLEX_VER=$(wget -qO- https://adam-ant.co.uk/plex/version.php) \
&& wget -O plexmediaserver.deb "https://downloads.plex.tv/plex-media-server/$PLEX_VER/plexmediaserver_"$PLEX_VER"_amd64.deb" \
&& dpkg-deb -x plexmediaserver.deb . \ && dpkg-deb -x plexmediaserver.deb . \
# Move usr/lib and start_pms. Everything else is useless # Move usr/lib and start_pms. Everything else is useless
&& mv usr/lib/plexmediaserver /usr/lib \ && mv usr/lib/plexmediaserver /usr/lib \