mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update Dockerfile
This commit is contained in:
@@ -32,11 +32,10 @@ RUN \
|
|||||||
################
|
################
|
||||||
# Use data from addon options for all values
|
# Use data from addon options for all values
|
||||||
&& 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| /data/options.json|g' /docker-entrypoint.sh \
|
&& sed -i 's|_FILE" 2> /dev/null| /data/options.json|g' /docker-entrypoint.sh
|
||||||
\
|
|
||||||
# Add initial script
|
# Add initial script
|
||||||
&& chmod a+x /run.sh \
|
# && chmod a+x /run.sh \
|
||||||
&& sed -i "2 i\./run.sh" /docker-entrypoint.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