docker-plex-wireguard/Dockerfile

26 lines
774 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-03-17 11:00:57 +00:00
wget -P /tmp "$PLEXURL" && \
gdebi -n /tmp/plexmediaserver_*_amd64.deb && \
rm -f /tmp/plexmediaserver_*_amd64.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"]
2016-03-17 11:00:57 +00:00
EXPOSE 32400