mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-04 02:47:45 +01:00
Update Dockerfile
This commit is contained in:
@@ -32,11 +32,10 @@ RUN \
|
||||
################
|
||||
# Use data from addon options for all values
|
||||
&& 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
|
||||
&& chmod a+x /run.sh \
|
||||
&& sed -i "2 i\./run.sh" /docker-entrypoint.sh
|
||||
# && chmod a+x /run.sh \
|
||||
# && sed -i "2 i\./run.sh" /docker-entrypoint.sh
|
||||
|
||||
#VOLUME [ "/data" ]
|
||||
#USER root
|
||||
|
||||
Reference in New Issue
Block a user