Skip to content

Commit

Permalink
fix dockerfile pg version error (#611)
Browse files Browse the repository at this point in the history
Signed-off-by: xieydd <[email protected]>
  • Loading branch information
xieydd authored Nov 5, 2024
1 parent 1b97989 commit cc4776f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/pg-slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ COPY --from=tianon/gosu /gosu /usr/local/bin/
RUN set -eux; \
echo "unix_socket_directories = '/var/run/postgresql'" >> /usr/lib/postgresql/${PG_MAJOR}/share/postgresql.conf.sample; \
sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/lib/postgresql/${PG_MAJOR}/share/postgresql.conf.sample; \
grep -F "listen_addresses = '*'" /usr/lib/postgresql/16/share/postgresql.conf.sample
grep -F "listen_addresses = '*'" /usr/lib/postgresql/${PG_MAJOR}/share/postgresql.conf.sample

RUN install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql

Expand Down

0 comments on commit cc4776f

Please sign in to comment.