|
|
|
@ -1,10 +1,6 @@
|
|
|
|
|
FROM linuxserver/baseimage
|
|
|
|
|
MAINTAINER Stian Larsen <lonixx@gmail.com>
|
|
|
|
|
|
|
|
|
|
# Use baseimage-docker's init system
|
|
|
|
|
CMD ["/sbin/my_init"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Install Plex
|
|
|
|
|
RUN apt-get -q update && \
|
|
|
|
|
VERSION=$(curl -s https://tools.linuxserver.io/latest-plex.json| grep "version" | cut -d '"' -f 4) && \
|
|
|
|
@ -19,11 +15,6 @@ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
|
|
|
VOLUME /config
|
|
|
|
|
EXPOSE 32400
|
|
|
|
|
|
|
|
|
|
#Adduser
|
|
|
|
|
RUN useradd -u 911 -U -s /bin/false abc
|
|
|
|
|
RUN usermod -G users abc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#Adding Custom files
|
|
|
|
|
ADD init/ /etc/my_init.d/
|
|
|
|
|
ADD services/ /etc/service/
|
|
|
|
|