Fix corrupted HEALTH_URL and ASCII art in Dockerfiles caused by version updater

The addons_updater script's global sed replacement corrupted Dockerfiles
when the upstream_version was empty (""), replacing all empty double-quoted
strings with version strings. This corrupted:

- HEALTH_URL values (causing malformed health check URLs and container
  instability from failed health checks)
- ASCII art comments in Dockerfile headers

Fixed affected addons: guacamole, tdarr, photoprism, enedisgateway2mqtt_dev,
gazpar2mqtt, seafile

Also added a guard in the updater script to skip updates when version
strings are empty, preventing this corruption from recurring.

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-26 17:15:13 +00:00
parent b217fbaf91
commit 26d29f101d
7 changed files with 22 additions and 16 deletions

View File

@@ -2,11 +2,11 @@
# ALEXBELGIUM'S DOCKERFILE #
#============================#
# _.------.
# _.-` ('>.-`"2.58.02""-.
# _.-` ('>.-`"""-.
# '.--'` _'` _ .--.)
# -' '-.-';` `
# ' - _.' ``'--.
# '---` .-'"2.58.02"`
# '---` .-'""`
# /`
#=== Home Assistant Addon ===#
@@ -119,7 +119,7 @@ RUN \
fi
ENV HEALTH_PORT="8265" \
HEALTH_URL="2.58.02"
HEALTH_URL=""
HEALTHCHECK \
--interval=5s \
--retries=5 \