Accept standalone bashio

This commit is contained in:
Alexandre
2026-01-29 11:06:24 +01:00
committed by GitHub
parent fd8e5e0e15
commit f43020d85b
114 changed files with 977 additions and 531 deletions

View File

@@ -67,6 +67,13 @@ RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh"
RUN chmod 777 /ha_entrypoint.sh
# Install bashio
ENV PATH="/usr/local/bin:${PATH}"
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh"
RUN chmod 0755 /usr/local/lib/bashio-standalone.sh
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-router.sh" "/usr/local/bin/bashio"
RUN chmod 0755 /usr/local/bin/bashio
RUN \ sed -i "s|/command/with-contenv|/usr/bin/env|g" "/ha_entrypoint.sh"
VOLUME [ "/data" ]