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

Update Pass branch

This commit is contained in:
Adam Dodman 2017-07-09 21:53:15 +01:00 committed by Joe Groocock
parent 96604f6e17
commit b751dce8a5
3 changed files with 7 additions and 6 deletions

View File

@ -9,7 +9,7 @@ pipeline:
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 jq - apk add --no-cache openssl jq
- wget -qO- https://adam-ant.co.uk/plex/version.php | jq -r .release> .plex_version - wget -qO- https://adam-ant.co.uk/plex/pass-version.php | jq -r .release> .plex_version
build: build:
image: docker image: docker
@ -39,9 +39,10 @@ pipeline:
commands: commands:
#Grab just the version, not the hash. Used for tagging #Grab just the version, not the hash. Used for tagging
- export CUR_VERSION=$(cat .plex_version | cut -d \- -f1 ) - export CUR_VERSION=$(cat .plex_version | cut -d \- -f1 )
- echo $CUR_VERSION
- echo $DOCKER_USER - echo $DOCKER_USER
- docker tag devbuild adamant/plexmediaserver:latest - docker tag devbuild adamant/plexmediaserver:plexpass
- docker tag devbuild adamant/plexmediaserver:$CUR_VERSION - docker tag devbuild adamant/plexmediaserver:plexpass-$CUR_VERSION
- docker login -u $DOCKER_USER -p $DOCKER_PASS - docker login -u $DOCKER_USER -p $DOCKER_PASS
- docker push adamant/plexmediaserver - docker push adamant/plexmediaserver
- echo "CONGRATS! SUCCESSFULLY BUILT PLEX VERSION "$CUR_VERSION - echo "CONGRATS! SUCCESSFULLY BUILT PLEX VERSION $CUR_VERSION-PASS"

View File

@ -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 | sed -n 's/.*"release":\s*"\([^"]*\)".*/\1/p') \ && export PLEX_VER=$(wget -qO- https://adam-ant.co.uk/plex/pass-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

View File

@ -2,7 +2,7 @@
# [adamant/plexmediaserver][hub] # [adamant/plexmediaserver][hub]
[![](https://images.microbadger.com/badges/image/adamant/plexmediaserver.svg)](https://microbadger.com/images/adamant/plexmediaserver) [![Docker Pulls](https://img.shields.io/docker/pulls/adamant/plexmediaserver.svg)][hub] [![Docker Stars](https://img.shields.io/docker/stars/adamant/plexmediaserver.svg)][hub] [![Build Status](https://drone.adam-ant.co.uk/api/badges/Adam-Ant/docker-plex-tiny/status.svg)](https://drone.adam-ant.co.uk/Adam-Ant/docker-plex-tiny) [![](https://images.microbadger.com/badges/image/adamant/plexmediaserver:plexpass.svg)](https://microbadger.com/images/adamant/plexmediaserver:plexpass) [![Docker Pulls](https://img.shields.io/docker/pulls/adamant/plexmediaserver.svg)][hub] [![Docker Stars](https://img.shields.io/docker/stars/adamant/plexmediaserver.svg)][hub] [![Build Status](https://drone.adam-ant.co.uk/api/badges/Adam-Ant/docker-plex-tiny/status.svg)](https://drone.adam-ant.co.uk/Adam-Ant/docker-plex-tiny)
The smallest* Plex Media Server docker image, built on [busybox](https://hub.docker.com/_/busybox/) with glibc and packages from the debian repos. The container contains a bare minimum glibc dependency tree, with most of the crap removed. The smallest* Plex Media Server docker image, built on [busybox](https://hub.docker.com/_/busybox/) with glibc and packages from the debian repos. The container contains a bare minimum glibc dependency tree, with most of the crap removed.