From 54cf3370ce633cdae26ca27edf091cc80f453905 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 2 Dec 2024 19:49:33 +0100 Subject: [PATCH] Update Dockerfile --- postgres/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/postgres/Dockerfile b/postgres/Dockerfile index 85c0b8cf9..6eead5eca 100644 --- a/postgres/Dockerfile +++ b/postgres/Dockerfile @@ -72,7 +72,10 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh" RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh -RUN chmod 777 /docker-entrypoint-initdb.d/* +RUN chmod 777 /docker-entrypoint-initdb.d/* && \ + # Capture docker signals + sed -i "s|source |exec |g" /ha_entrypoint.sh + WORKDIR /config ENTRYPOINT [ "/usr/bin/env" ] CMD [ "/ha_entrypoint.sh" ]