Update Dockerfile

This commit is contained in:
Alexandre
2021-10-20 22:23:07 +02:00
committed by GitHub
parent e890ed9f3d
commit 31b341c667

View File

@@ -37,14 +37,14 @@ RUN \
################ ################
# Modify image # # Modify image #
################ ################
&& rm -R /var/lock || true \ && sed -i 's/bash/bashio/g' /docker-entrypoint.sh
# Add script # Add script
&& sed -i '1d' /docker-entrypoint.sh \ #&& sed -i '1d' /docker-entrypoint.sh \
&& cat /newscript > /temporaryfile \ #&& cat /newscript > /temporaryfile \
&& cat /docker-entrypoint.sh >> /temporaryfile \ # && cat /docker-entrypoint.sh >> /temporaryfile \
&& cat /temporaryfile > /docker-entrypoint.sh \ # && cat /temporaryfile > /docker-entrypoint.sh \
&& chmod +x /docker-entrypoint.sh \ # && chmod +x /docker-entrypoint.sh \
&& rm /temporaryfile # && rm /temporaryfile
# Add correct location # Add correct location
#&& sed -i "s|CONFIG_FILE="data|CONFIG_FILE="/data|g" /etc/cont-init.d/ #&& sed -i "s|CONFIG_FILE="data|CONFIG_FILE="/data|g" /etc/cont-init.d/
################ ################