docker-plex-wireguard/Dockerfile

26 lines
881 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 && \
2015-07-19 22:33:48 +02:00
VERSION=$(curl -s https://tools.linuxserver.io/latest-plex.json| grep "version" | cut -d '"' -f 4) && \
apt-get install -qy dbus gdebi-core avahi-daemon wget && \
wget -P /tmp "http://downloads.plexapp.com/plex-media-server/$VERSION/plexmediaserver_${VERSION}_amd64.deb" && \
gdebi -n /tmp/plexmediaserver_${VERSION}_amd64.deb && \
rm -f /tmp/plexmediaserver_${VERSION}_amd64.deb && \
2015-05-10 10:50:00 +02:00
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
2015-05-10 10:50:00 +02:00
#Adding Custom files
ADD init/ /etc/my_init.d/
ADD services/ /etc/service/
RUN chmod -v +x /etc/service/*/run
RUN chmod -v +x /etc/my_init.d/*.sh
# Define /config in the configuration file not using environment variables
ADD plexmediaserver /defaults/plexmediaserver
#Mappings and ports
VOLUME /config
EXPOSE 32400