Skip to content

Commit 9ba4f2e

Browse files
authored
Remove symbolic link for PGDATA in Dockerfile
Removed symbolic link creation for PGDATA in Dockerfile.
1 parent 214a16a commit 9ba4f2e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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)