1
0

[info=d52a9a500228fd133b229810c6c2cca7]

OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/postgres-14-image?expand=0&rev=17
This commit is contained in:
2023-03-29 15:59:58 +00:00
committed by Git OBS Bridge
parent bb0f6e42d6
commit 4b75962613
3 changed files with 12 additions and 3 deletions

View File

@@ -3,7 +3,6 @@
#!BuildTag: opensuse/postgres:14-%RELEASE%
#!BuildTag: opensuse/postgres:%%pg_version%%
#!BuildTag: opensuse/postgres:%%pg_version%%-%RELEASE%
#!BuildTag: opensuse/postgres:latest
FROM opensuse/tumbleweed:latest

View File

@@ -38,11 +38,11 @@ docker_create_db_directories() {
mkdir -p "$PGDATA"
# ignore failure since there are cases where we can't chmod (and PostgreSQL might fail later anyhow - it's picky about permissions of this directory)
chmod 700 "$PGDATA" || :
chmod 00700 "$PGDATA" || :
# ignore failure since it will be fine when using the image provided directory; see also https://github.com/docker-library/postgres/pull/289
mkdir -p /var/run/postgresql || :
chmod 775 /var/run/postgresql || :
chmod 03775 /var/run/postgresql || :
# Create the transaction log directory before initdb is run so the directory is owned by the correct user
if [ -n "${POSTGRES_INITDB_WALDIR:-}" ]; then

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Mar 29 13:44:26 UTC 2023 - Dan Čermák <dcermak@suse.com>
- Correct file permissions for chmod calls in docker-entrypoint.sh
-------------------------------------------------------------------
Mon Mar 13 16:05:54 UTC 2023 - Dan Čermák <dcermak@suse.com>
- Switch latest tag to postgres 15
-------------------------------------------------------------------
Mon Mar 13 11:26:06 UTC 2023 - Dan Čermák <dcermak@suse.com>