Skip to content

Commit 0d9a7cc

Browse files
authored
Merge pull request #14 from abretaud/listen
workaround docker-library/postgres#440
2 parents 46678d5 + afe2822 commit 0d9a7cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile.inherit

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ RUN chown postgres: -R /opt/ /usr/local/bin/ /usr/local/man/ /usr/local/share/pe
1313
find /usr/local/share/perl/ /usr/local/lib/x86_64-linux-gnu/perl/ -type d -exec chmod ug+rwx '{}' \;
1414

1515
ADD build.sh /docker-entrypoint-initdb.d/build.sh
16+
17+
# Workaround https://github.com/docker-library/postgres/pull/440
18+
RUN sed -i "s|listen_addresses=''|listen_addresses='127.0.0.1'|" /usr/local/bin/docker-entrypoint.sh

0 commit comments

Comments
 (0)