mirror of
https://github.com/spritsail/plex-media-server.git
synced 2024-12-20 11:34:36 +00:00
Add drone CI support beta
This commit is contained in:
parent
e5bc076e50
commit
ac0172d78c
14
.drone.yml
Normal file
14
.drone.yml
Normal 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
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user