Fix HTTP 429: replace ADD remote URLs with COPY in all Dockerfiles, add retry logic and fix ha_automodules.sh

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
Agent-Logs-Url: https://github.com/alexbelgium/hassio-addons/sessions/2244d014-7299-4b63-89e4-35683a0b4c15
This commit is contained in:
copilot-swe-agent[bot]
2026-03-26 09:07:15 +00:00
parent 5cc9005626
commit 5a19d19054
119 changed files with 794 additions and 514 deletions

View File

@@ -78,14 +78,14 @@ RUN BASHIO_VERSION="0.14.3" && \
ARG MODULES="00-banner.sh 01-custom_script.sh"
# Automatic modules download
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_automodules.sh" "/ha_automodules.sh"
COPY ha_automodules.sh /ha_automodules.sh
RUN chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh
################
# 4 Entrypoint #
################
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh"
COPY bashio-standalone.sh /usr/local/lib/bashio-standalone.sh
RUN chmod 0755 /usr/local/lib/bashio-standalone.sh
# Use our wrapper as entrypoint (replaces original /opt/app/start.sh)