diff --git a/postgres/Dockerfile b/postgres/Dockerfile index 6eead5eca..1b071002c 100644 --- a/postgres/Dockerfile +++ b/postgres/Dockerfile @@ -72,9 +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/* && \ - # Capture docker signals - sed -i "s|source |exec |g" /ha_entrypoint.sh +RUN chmod 777 /docker-entrypoint-initdb.d/* WORKDIR /config ENTRYPOINT [ "/usr/bin/env" ]