Browse Source

initial commit

master
dave 5 years ago
commit
7a2fa116e4
2 changed files with 17 additions and 0 deletions
  1. +11
    -0
      Dockerfile
  2. +6
    -0
      start

+ 11
- 0
Dockerfile View File

@@ -0,0 +1,11 @@
FROM ubuntu:trusty

RUN apt-get update ;\
apt-get install -y wget ;\
wget -O /tmp/plex.deb https://downloads.plex.tv/plex-media-server/0.9.12.11.1406-8403350/plexmediaserver_0.9.12.11.1406-8403350_amd64.deb ;\
dpkg -i /tmp/plex.deb ;\
rm -rf /tmp/plex.deb /var/lib/apt/lists/*

ADD start /start

VOLUME /var/lib/plexmediaserver/

+ 6
- 0
start View File

@@ -0,0 +1,6 @@
#!/bin/bash

# Cleanly kill plex when container is stopped
trap 'kill $(jobs -p)' EXIT

su -c "/usr/sbin/start_pms" plex

Loading…
Cancel
Save