Because sometimes localtesting is not enugh

Anoying error, forgot to add user abc
This commit is contained in:
Stian Buch Larsen 2015-05-10 14:05:07 +02:00
parent b30a2249c4
commit 73635c64d7
2 changed files with 6 additions and 3 deletions

View file

@ -22,12 +22,15 @@ 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
# Define /config in the configuration file not using environment variables
ADD plexmediaserver /etc/default/plexmediaserver
#Adding Custom files
ADD init/ /etc/my_init.d/
ADD services/ /etc/service/
RUN chmod -v +x /etc/service/*/run
RUN chmod -v +x /etc/my_init.d/*.sh
# Define /config in the configuration file not using environment variables
ADD plexmediaserver /etc/default/plexmediaserver

View file

@ -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
# the Application Support directory to not lose your
# media library
PLEX_MEDIA_SERVER_USER=plex
PLEX_MEDIA_SERVER_USER=abc