diff --git a/18/alpine3.22/Dockerfile b/18/alpine3.22/Dockerfile index dbfd50a247..78c8c5b2f5 100644 --- a/18/alpine3.22/Dockerfile +++ b/18/alpine3.22/Dockerfile @@ -198,7 +198,6 @@ RUN install --verbose --directory --owner postgres --group postgres --mode 3777 # NOTE: in 18+, PGDATA has changed to match the pg_ctlcluster standard directory structure, and the VOLUME has moved from /var/lib/postgresql/data to /var/lib/postgresql # ENV PGDATA /var/lib/postgresql/18/docker -RUN ln -svT . /var/lib/postgresql/data # https://github.com/docker-library/postgres/pull/1259#issuecomment-2215477494 VOLUME /var/lib/postgresql # ("/var/lib/postgresql" is already pre-created with suitably usable permissions above) diff --git a/18/alpine3.23/Dockerfile b/18/alpine3.23/Dockerfile index 47a31f6a20..6a8d944015 100644 --- a/18/alpine3.23/Dockerfile +++ b/18/alpine3.23/Dockerfile @@ -198,7 +198,6 @@ RUN install --verbose --directory --owner postgres --group postgres --mode 3777 # NOTE: in 18+, PGDATA has changed to match the pg_ctlcluster standard directory structure, and the VOLUME has moved from /var/lib/postgresql/data to /var/lib/postgresql # ENV PGDATA /var/lib/postgresql/18/docker -RUN ln -svT . /var/lib/postgresql/data # https://github.com/docker-library/postgres/pull/1259#issuecomment-2215477494 VOLUME /var/lib/postgresql # ("/var/lib/postgresql" is already pre-created with suitably usable permissions above) diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index ad6e1632d6..1f9ffd7592 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -221,7 +221,6 @@ RUN install --verbose --directory --owner postgres --group postgres --mode 3777 # NOTE: in 18+, PGDATA has changed to match the pg_ctlcluster standard directory structure, and the VOLUME has moved from /var/lib/postgresql/data to /var/lib/postgresql # ENV PGDATA /var/lib/postgresql/{{ .major | tostring }}/docker -RUN ln -svT . /var/lib/postgresql/data # https://github.com/docker-library/postgres/pull/1259#issuecomment-2215477494 VOLUME /var/lib/postgresql # ("/var/lib/postgresql" is already pre-created with suitably usable permissions above) {{ ) else ( -}}