mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-12 10:31:26 +02:00
Update Dockerfile
This commit is contained in:
@@ -34,11 +34,14 @@ RUN \
|
|||||||
&& sed -i 's|cat \"\$|jq ."|g' /docker-entrypoint.sh \
|
&& sed -i 's|cat \"\$|jq ."|g' /docker-entrypoint.sh \
|
||||||
&& sed -i 's|_FILE" 2> /dev/null| //empty" /data/options.json|g' /docker-entrypoint.sh \
|
&& sed -i 's|_FILE" 2> /dev/null| //empty" /data/options.json|g' /docker-entrypoint.sh \
|
||||||
# Remove last line and add copy script
|
# Remove last line and add copy script
|
||||||
&& sed -i '$ d' /docker-entrypoint.sh
|
&& chmod a+x /run.sh \
|
||||||
|
&& sed -i "2 i\./start.sh" /docker-entrypoint.sh \
|
||||||
|
&& sed -i '$ d' /docker-entrypoint.sh \
|
||||||
|
&& sed -i '$ i\./end.sh' /docker-entrypoint.sh
|
||||||
|
|
||||||
|
#
|
||||||
# Add initial script
|
# Add initial script
|
||||||
# && chmod a+x /run.sh \
|
|
||||||
# && sed -i "2 i\./run.sh" /docker-entrypoint.sh
|
|
||||||
|
|
||||||
#VOLUME [ "/data" ]
|
#VOLUME [ "/data" ]
|
||||||
#USER root
|
#USER root
|
||||||
|
|||||||
Reference in New Issue
Block a user