mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-18 02:18:16 +01:00
Update Dockerfile
This commit is contained in:
@@ -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/
|
||||||
################
|
################
|
||||||
|
|||||||
Reference in New Issue
Block a user