docker-plex/Dockerfile
Stian Buch Larsen a7785bcac0 gdebi
gdebi is gone, now also from Dockerfile
2016-03-30 10:53:42 +02:00

26 lines
817 B
Docker

FROM linuxserver/baseimage
MAINTAINER Stian Larsen <lonixx@gmail.com>
# Install Plex
RUN apt-get -q update && \
PLEXURL=$(curl -s https://tools.linuxserver.io/latest-plex.json| grep "ubuntu64" | cut -d '"' -f 4) && \
apt-get install -qy dbus avahi-daemon wget && \
wget -P /tmp "$PLEXURL" && \
dpkg -i /tmp/plexmediaserver_*_amd64.deb && \
rm -f /tmp/plexmediaserver_*_amd64.deb && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
#Adding Custom files
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
VOLUME ["/config", "/transcode"]
EXPOSE 32400 32400/udp 32469 32469/udp 5353/udp 1900/udp