Because sometimes localtesting is not enugh
Anoying error, forgot to add user abc
This commit is contained in:
parent
b30a2249c4
commit
73635c64d7
2 changed files with 6 additions and 3 deletions
|
|
@ -22,12 +22,15 @@ 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
|
||||||
|
|
||||||
# Define /config in the configuration file not using environment variables
|
|
||||||
ADD plexmediaserver /etc/default/plexmediaserver
|
|
||||||
|
|
||||||
#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/
|
||||||
RUN chmod -v +x /etc/service/*/run
|
RUN chmod -v +x /etc/service/*/run
|
||||||
RUN chmod -v +x /etc/my_init.d/*.sh
|
RUN chmod -v +x /etc/my_init.d/*.sh
|
||||||
|
# Define /config in the configuration file not using environment variables
|
||||||
|
ADD plexmediaserver /etc/default/plexmediaserver
|
||||||
|
|
|
||||||
|
|
@ -16,4 +16,4 @@ PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="/config/Library/Application Support"
|
||||||
# note that if you change this you might need to move
|
# note that if you change this you might need to move
|
||||||
# the Application Support directory to not lose your
|
# the Application Support directory to not lose your
|
||||||
# media library
|
# media library
|
||||||
PLEX_MEDIA_SERVER_USER=plex
|
PLEX_MEDIA_SERVER_USER=abc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue