mirror of
https://github.com/linuxserver/docker-plex.git
synced 2026-04-13 00:04:33 +08:00
Prep. for new baseimg.
This commit is contained in:
parent
bd74faca54
commit
9228f7bc41
@ -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/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user