From aa643ae74e56405badf8f378ca9b69cca7d8a78a Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 5 Dec 2024 07:08:41 +0100 Subject: [PATCH] Update Dockerfile --- postgres/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/postgres/Dockerfile b/postgres/Dockerfile index 42f7fae87..1b071002c 100644 --- a/postgres/Dockerfile +++ b/postgres/Dockerfile @@ -72,8 +72,7 @@ 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/* && \ - sed -i "s|sleep infinity|bashio::log.info \"Postgres ready to connect\" \& sleep infinity|g" /ha_entrypoint.sh +RUN chmod 777 /docker-entrypoint-initdb.d/* WORKDIR /config ENTRYPOINT [ "/usr/bin/env" ]