Skip to content

Commit 67fe41b

Browse files
authored
Merge pull request #732 from SUSE/for-deploy-4
🤖: Update build recipes for SP4
2 parents 2752a6f + 38a6cf4 commit 67fe41b

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

postgres-14-image/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ COPY docker-entrypoint.sh /usr/local/bin/
5555
RUN 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

postgres-14-image/postgres-14-image.changes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
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
-------------------------------------------------------------------
27
Thu Sep 28 14:29:26 UTC 2023 - Dirk Mueller <dmueller@suse.com>
38

0 commit comments

Comments
 (0)