forked from pool/postgres-12-image
[info=4b5f6457a1c6fd2277b87a4a867854ca]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/postgres-12-image?expand=0&rev=49
This commit is contained in:
parent
f88c32f39c
commit
1085b59d51
@ -52,6 +52,7 @@ COPY docker-entrypoint.sh /usr/local/bin/
|
||||
RUN set -euo pipefail; chmod +x /usr/local/bin/docker-entrypoint.sh; \
|
||||
sed -i -e 's/exec gosu postgres "/exec setpriv --reuid=postgres --regid=postgres --clear-groups -- "/g' /usr/local/bin/docker-entrypoint.sh; \
|
||||
mkdir /docker-entrypoint-initdb.d; \
|
||||
install -m 1775 -o postgres -g postgres -d /run/postgresql; \
|
||||
install -d -m 0700 -o postgres -g postgres $PGDATA; \
|
||||
sed -ri "s|^#?(listen_addresses)\s*=\s*\S+.*|\1 = '*'|" /usr/share/postgresql12/postgresql.conf.sample
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 25 15:40:55 UTC 2023 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
- ensure rundir for postgres is created with the proper permissions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 28 14:29:10 UTC 2023 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user