Skip to content

Commit ec0cb67

Browse files
authored
Remove symlink for PostgreSQL data directory in Alpine images (#1394)
1 parent 59063d8 commit ec0cb67

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

18/alpine3.22/Dockerfile

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

18/alpine3.23/Dockerfile

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile-alpine.template

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ RUN install --verbose --directory --owner postgres --group postgres --mode 3777
221221
# 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
222222
#
223223
ENV PGDATA /var/lib/postgresql/{{ .major | tostring }}/docker
224-
RUN ln -svT . /var/lib/postgresql/data # https://github.com/docker-library/postgres/pull/1259#issuecomment-2215477494
225224
VOLUME /var/lib/postgresql
226225
# ("/var/lib/postgresql" is already pre-created with suitably usable permissions above)
227226
{{ ) else ( -}}

0 commit comments

Comments
 (0)