From bc3f35f83240c472d0c493b15dbb6e8e3064c1e2 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 5 Dec 2024 06:59:49 +0100 Subject: [PATCH] Update Dockerfile --- postgres/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres/Dockerfile b/postgres/Dockerfile index 31d4319f8..612ef6294 100644 --- a/postgres/Dockerfile +++ b/postgres/Dockerfile @@ -73,7 +73,7 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat 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/* && \ - echo "bashio::log.info \"Postgres ready to connect\" && sleep infinity" >> /ha_entrypoint.sh + sed -i "s|sleep infinity|bashio::log.info \"Postgres ready to connect\" && sleep infinity|g" /ha_entrypoint.sh WORKDIR /config ENTRYPOINT [ "/usr/bin/env" ]