Update Dockerfile

This commit is contained in:
Alexandre
2021-08-31 18:43:49 +02:00
committed by GitHub
parent 82c12b9d12
commit 1a17e3f7ee

View File

@@ -49,13 +49,13 @@ RUN \
######################
\
&& sed -i 's/with-contenv bash/with-contenv bashio/g' /etc/cont-init.d/45-plex-claim \
&& sed -i '2iexport PLEX_CLAIM=$(bashio::config "claim")' /etc/cont-init.d/45-plex-claim \
&& sed -i '2iexport PLEX_CLAIM=$(bashio::config "claim")' /etc/cont-init.d/45-plex-claim
###########
# FOLDERS #
###########
&& files=$(grep -rl '/config' /etc/cont-init.d/*) && echo $files | xargs sed -i 's|/config|/data|g' \
&& sed -i "s|/config|/data|g" /defaults/plexmediaserver \
&& sed -i '2i cp -vnpr /config /data || true' /etc/cont-init.d/00-banner.sh
# && files=$(grep -rl '/config' /etc/cont-init.d/*) && echo $files | xargs sed -i 's|/config|/data|g' \
# && sed -i "s|/config|/data|g" /defaults/plexmediaserver \
# && sed -i '2i cp -vnpr /config /data || true' /etc/cont-init.d/00-banner.sh
### LABELS
ARG BUILD_ARCH