Forgot to copy that default plexmediaserver file
This commit is contained in:
parent
906590d7fb
commit
a51f16ab19
2 changed files with 7 additions and 4 deletions
10
Dockerfile
10
Dockerfile
|
|
@ -11,9 +11,7 @@ rm -f /tmp/plexmediaserver_${VERSION}_amd64.deb && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
#Mappings and ports
|
|
||||||
VOLUME /config
|
|
||||||
EXPOSE 32400
|
|
||||||
|
|
||||||
#Adding Custom files
|
#Adding Custom files
|
||||||
ADD init/ /etc/my_init.d/
|
ADD init/ /etc/my_init.d/
|
||||||
|
|
@ -21,4 +19,8 @@ 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
|
# Define /config in the configuration file not using environment variables
|
||||||
ADD plexmediaserver /etc/default/plexmediaserver
|
ADD plexmediaserver /defaults/plexmediaserver
|
||||||
|
|
||||||
|
#Mappings and ports
|
||||||
|
VOLUME /config
|
||||||
|
EXPOSE 32400
|
||||||
|
|
@ -24,6 +24,7 @@ if [[ ! "$VERSION" == "$INSTALLED " ]]; then
|
||||||
rm -f /tmp/plexmediaserver_*.deb
|
rm -f /tmp/plexmediaserver_*.deb
|
||||||
wget -P /tmp "http://downloads.plexapp.com/plex-media-server/$VERSION/plexmediaserver_${VERSION}_amd64.deb"
|
wget -P /tmp "http://downloads.plexapp.com/plex-media-server/$VERSION/plexmediaserver_${VERSION}_amd64.deb"
|
||||||
last=$?
|
last=$?
|
||||||
|
cp /defaults/plexmediaserver /etc/default/plexmediaserver
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
echo "Allready Uptodate"
|
echo "Allready Uptodate"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue