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