File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ COPY docker-entrypoint.sh /usr/local/bin/
5555RUN set -euo pipefail; chmod +x /usr/local/bin/docker-entrypoint.sh; \
5656 sed -i -e 's/exec gosu postgres "/exec setpriv --reuid=postgres --regid=postgres --clear-groups -- "/g' /usr/local/bin/docker-entrypoint.sh; \
5757 mkdir /docker-entrypoint-initdb.d; \
58+ install -m 1775 -o postgres -g postgres -d /run/postgresql; \
5859 install -d -m 0700 -o postgres -g postgres $PGDATA; \
5960 sed -ri "s|^#?(listen_addresses)\s *=\s *\S +.*|\1 = '*'|" /usr/share/postgresql14/postgresql.conf.sample
6061
Original file line number Diff line number Diff line change 1+ -------------------------------------------------------------------
2+ Wed Oct 25 15:41:47 UTC 2023 - Dirk Mueller <dmueller@suse.com>
3+
4+ - ensure rundir for postgres is created with the proper permissions
5+
16-------------------------------------------------------------------
27Thu Sep 28 14:29:26 UTC 2023 - Dirk Mueller <dmueller@suse.com>
38
You can’t perform that action at this time.
0 commit comments