mirror of
https://github.com/spritsail/plex-media-server.git
synced 2024-09-08 18:13:52 +00:00
No longer hard code Plex download URL
This commit is contained in:
parent
c70a12cc1d
commit
cada6004dd
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user