Update Dockerfile for config path changes

Modify entrypoint script and update config paths.
This commit is contained in:
Alexandre
2026-02-07 07:14:10 +01:00
committed by GitHub
parent b548ddbe26
commit 98b9f46838

View File

@@ -28,7 +28,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \
S6_SERVICES_GRACETIME=0
# Change config location
# hadolint ignore=DL4006
RUN sed -i 's|/etc/zm.conf|/config/addons_config/zoneminder/zm.conf|g' /usr/local/bin/entrypoint.sh \
@@ -63,6 +62,7 @@ ENV PACKAGES=""
# Automatic apps & bashio
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_autoapps.sh" "/ha_autoapps.sh"
RUN sed -i "/chmod 755/a sed -i 's|micro||g' /ha_automatic_packages.sh" /ha_autoapps.sh
RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
################