mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 13:24:04 +02:00
Update Dockerfile
This commit is contained in:
@@ -31,8 +31,8 @@ RUN \
|
|||||||
# Modify image #
|
# Modify image #
|
||||||
################
|
################
|
||||||
# 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| //empty" /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
|
||||||
|
|||||||
Reference in New Issue
Block a user