From afe28225afce3313033b31e8caf4be8dae91edc6 Mon Sep 17 00:00:00 2001 From: Anthony Bretaudeau Date: Mon, 4 Apr 2022 15:41:05 +0200 Subject: [PATCH] workaround https://github.com/docker-library/postgres/pull/440 --- Dockerfile.inherit | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile.inherit b/Dockerfile.inherit index 3957234..c48504a 100644 --- a/Dockerfile.inherit +++ b/Dockerfile.inherit @@ -13,3 +13,6 @@ RUN chown postgres: -R /opt/ /usr/local/bin/ /usr/local/man/ /usr/local/share/pe find /usr/local/share/perl/ /usr/local/lib/x86_64-linux-gnu/perl/ -type d -exec chmod ug+rwx '{}' \; ADD build.sh /docker-entrypoint-initdb.d/build.sh + +# Workaround https://github.com/docker-library/postgres/pull/440 +RUN sed -i "s|listen_addresses=''|listen_addresses='127.0.0.1'|" /usr/local/bin/docker-entrypoint.sh