mirror of
https://github.com/spritsail/plex-media-server.git
synced 2024-11-08 18:56:22 +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
|
||||
commands:
|
||||
# Grab the current version, prevents race conditions #### Pass this into the Dockerfile somehow?
|
||||
- apk add --no-cache openssl
|
||||
- wget -qO- https://adam-ant.co.uk/plex/version.php > .plex_version
|
||||
- apk add --no-cache openssl jq
|
||||
- wget -qO- https://adam-ant.co.uk/plex/version.php | jq -r .release> .plex_version
|
||||
|
||||
build:
|
||||
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.
|
||||
&& mv /tmp/usr/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" \
|
||||
&& dpkg-deb -x plexmediaserver.deb . \
|
||||
# Move usr/lib and start_pms. Everything else is useless
|
||||
|
Loading…
Reference in New Issue
Block a user