mirror of
https://github.com/spritsail/plex-media-server.git
synced 2024-12-20 11:34:36 +00:00
Fix for version page now being JSON
This commit is contained in:
parent
ad3636b211
commit
96604f6e17
@ -8,8 +8,8 @@ pipeline:
|
|||||||
image: docker
|
image: docker
|
||||||
commands:
|
commands:
|
||||||
# Grab the current version, prevents race conditions #### Pass this into the Dockerfile somehow?
|
# Grab the current version, prevents race conditions #### Pass this into the Dockerfile somehow?
|
||||||
- apk add --no-cache openssl
|
- apk add --no-cache openssl jq
|
||||||
- wget -qO- https://adam-ant.co.uk/plex/version.php > .plex_version
|
- wget -qO- https://adam-ant.co.uk/plex/version.php | jq -r .release> .plex_version
|
||||||
|
|
||||||
build:
|
build:
|
||||||
image: docker
|
image: docker
|
||||||
|
@ -13,7 +13,7 @@ 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 \
|
||||||
&& export PLEX_VER=$(wget -qO- https://adam-ant.co.uk/plex/version.php) \
|
&& export PLEX_VER=$(wget -qO- https://adam-ant.co.uk/plex/version.php | sed -n 's/.*"release":\s*"\([^"]*\)".*/\1/p') \
|
||||||
&& wget -O plexmediaserver.deb "https://downloads.plex.tv/plex-media-server/$PLEX_VER/plexmediaserver_"$PLEX_VER"_amd64.deb" \
|
&& 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
|
||||||
|
Loading…
Reference in New Issue
Block a user