mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update Dockerfile
This commit is contained in:
@@ -87,7 +87,7 @@ RUN \
|
|||||||
# Execute entrypoint
|
# Execute entrypoint
|
||||||
sed -i "s|/usr/bin/env sh|/usr/bin/env bashio|g" /etc/entrypoint.d/11-execute-things.sh && \
|
sed -i "s|/usr/bin/env sh|/usr/bin/env bashio|g" /etc/entrypoint.d/11-execute-things.sh && \
|
||||||
chmod 777 /ha_entrypoint.sh && \
|
chmod 777 /ha_entrypoint.sh && \
|
||||||
sed -i "1a source /ha_entrypoint.sh" /etc/entrypoint.d/11-execute-things.sh
|
sed -i "1a sudo /./ha_entrypoint.sh" /etc/entrypoint.d/11-execute-things.sh
|
||||||
#RUN cat /ha_entrypoint.sh && \
|
#RUN cat /ha_entrypoint.sh && \
|
||||||
# sed -i "1i \#\!/bin/bash" /ha_entrypoint.sh
|
# sed -i "1i \#\!/bin/bash" /ha_entrypoint.sh
|
||||||
|
|
||||||
@@ -118,7 +118,7 @@ ARG BUILD_REF
|
|||||||
ARG BUILD_REPOSITORY
|
ARG BUILD_REPOSITORY
|
||||||
ARG BUILD_VERSION
|
ARG BUILD_VERSION
|
||||||
LABEL \
|
LABEL \
|
||||||
io.hass.name="${BUILD_NAME}" \
|
io.hass.name="${BUILD_NAME}" \Update config.json
|
||||||
io.hass.description="${BUILD_DESCRIPTION}" \
|
io.hass.description="${BUILD_DESCRIPTION}" \
|
||||||
io.hass.arch="${BUILD_ARCH}" \
|
io.hass.arch="${BUILD_ARCH}" \
|
||||||
io.hass.type="addon" \
|
io.hass.type="addon" \
|
||||||
|
|||||||
Reference in New Issue
Block a user