docker-plex-wireguard/Dockerfile

25 lines
898 B
Text
Raw Normal View History

2015-07-30 11:22:13 -05:00
FROM linuxserver/baseimage
2015-05-10 10:50:00 +02:00
MAINTAINER Stian Larsen <lonixx@gmail.com>
# Install Plex
RUN apt-get -q update && \
2016-03-17 11:00:57 +00:00
PLEXURL=$(curl -s https://tools.linuxserver.io/latest-plex.json| grep "ubuntu64" | cut -d '"' -f 4) && \
2016-03-30 10:31:32 +02:00
apt-get install -qy dbus avahi-daemon wget && \
2016-04-07 15:05:42 +02:00
curl -L 'https://plex.tv/downloads/latest/1?channel=8&build=linux-ubuntu-x86_64&distro=ubuntu' -o /tmp/plexmediaserver.deb && \
2016-04-07 15:00:02 +02:00
dpkg -i /tmp/plexmediaserver.deb && rm -f /tmp/plexmediaserver.deb && \
2015-05-10 10:50:00 +02:00
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
2015-10-13 23:19:58 +02:00
2015-05-10 10:50:00 +02:00
#Adding Custom files
2016-03-17 11:00:57 +00:00
COPY init/ /etc/my_init.d/
COPY services/ /etc/service/
RUN chmod -v +x /etc/service/*/run /etc/my_init.d/*.sh
# Define /config in the configuration file not using environment variables
ADD plexmediaserver /defaults/plexmediaserver
#Mappings and ports
2015-09-24 09:33:57 +02:00
VOLUME ["/config", "/transcode"]
EXPOSE 32400 32400/udp 32469 32469/udp 5353/udp 1900/udp