Update dockerfile

This commit is contained in:
Alexandre
2025-01-22 09:08:03 +01:00
committed by GitHub
parent e5752ad0c5
commit e5653d9021
2 changed files with 2 additions and 3 deletions

View File

@@ -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 "/Termination signal received/a gosu postgres pg_ctl -D \"\$PGDATA\" -m fast stop" /ha_entrypoint.sh
RUN sed -i "/Termination signal received/a gosu postgres pg_ctl -D \"\$PGDATA\" -m fast stop" /ha_entrypoint.sh
WORKDIR /config
ENTRYPOINT [ "/usr/bin/env" ]

View File

@@ -38,5 +38,5 @@
"slug": "postgres",
"udev": true,
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/postgres",
"version": "15.7-15"
"version": "15.7-16"
}