diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..05937a6 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,14 @@ +pipeline: + build: + image: docker + commands: + - docker build -t plexdev . + - docker tag plexdev itpersists + - docker save -o image.tar plexdev + + test: + image: docker + commands: + - ls + - docker load -i image.tar + - docker images diff --git a/Dockerfile b/Dockerfile index 8dd5add..58dc600 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ - && wget -O plexmediaserver.deb 'https://plex.tv/downloads/latest/1?channel=8&build=linux-ubuntu-x86_64&distro=ubuntu' \ + && wget -O plexmediaserver.deb "https://downloads.plex.tv/plex-media-server/1.7.4.4017-3886b5c85/plexmediaserver_1.7.4.4017-3886b5c85_amd64.deb" \ && dpkg-deb -x plexmediaserver.deb . \ # Move usr/lib and start_pms. Everything else is useless && mv usr/lib/plexmediaserver /usr/lib \