2
0
mirror of https://github.com/spritsail/plex-media-server.git synced 2024-11-05 01:16:23 +00:00

Add drone CI support beta

This commit is contained in:
Adam Dodman 2017-06-29 22:42:35 +01:00
parent e5bc076e50
commit ac0172d78c
2 changed files with 15 additions and 1 deletions

14
.drone.yml Normal file
View File

@ -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

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.
&& 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 \