File tree 11 files changed +22
-11
lines changed 11 files changed +22
-11
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ RUN yum -y module enable postgresql:12 && \
54
54
localedef -f UTF-8 -i en_US en_US.UTF-8 && \
55
55
test "$(id postgres)" = "uid=26(postgres) gid=26(postgres) groups=26(postgres)" && \
56
56
mkdir -p /var/lib/pgsql/data && \
57
- /usr/libexec/fix-permissions /var/lib/pgsql /var/run/postgresql
57
+ mkdir -p /run/postgresql && \
58
+ /usr/libexec/fix-permissions /var/lib/pgsql /run/postgresql
58
59
59
60
# Get prefix path and path to scripts rather than hard-code them in scripts
60
61
ENV CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/postgresql \
Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ RUN { yum -y module enable postgresql:13 || :; } && \
52
52
localedef -f UTF-8 -i en_US en_US.UTF-8 && \
53
53
test "$(id postgres)" = "uid=26(postgres) gid=26(postgres) groups=26(postgres)" && \
54
54
mkdir -p /var/lib/pgsql/data && \
55
- /usr/libexec/fix-permissions /var/lib/pgsql /var/run/postgresql
55
+ mkdir -p /run/postgresql && \
56
+ /usr/libexec/fix-permissions /var/lib/pgsql /run/postgresql
56
57
57
58
# Get prefix path and path to scripts rather than hard-code them in scripts
58
59
ENV CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/postgresql \
Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ RUN yum -y module enable postgresql:13 && \
54
54
localedef -f UTF-8 -i en_US en_US.UTF-8 && \
55
55
test "$(id postgres)" = "uid=26(postgres) gid=26(postgres) groups=26(postgres)" && \
56
56
mkdir -p /var/lib/pgsql/data && \
57
- /usr/libexec/fix-permissions /var/lib/pgsql /var/run/postgresql
57
+ mkdir -p /run/postgresql && \
58
+ /usr/libexec/fix-permissions /var/lib/pgsql /run/postgresql
58
59
59
60
# Get prefix path and path to scripts rather than hard-code them in scripts
60
61
ENV CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/postgresql \
Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ RUN { yum -y module enable postgresql:13 || :; } && \
54
54
localedef -f UTF-8 -i en_US en_US.UTF-8 && \
55
55
test "$(id postgres)" = "uid=26(postgres) gid=26(postgres) groups=26(postgres)" && \
56
56
mkdir -p /var/lib/pgsql/data && \
57
- /usr/libexec/fix-permissions /var/lib/pgsql /var/run/postgresql
57
+ mkdir -p /run/postgresql && \
58
+ /usr/libexec/fix-permissions /var/lib/pgsql /run/postgresql
58
59
59
60
# Get prefix path and path to scripts rather than hard-code them in scripts
60
61
ENV CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/postgresql \
Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ RUN { yum -y module enable postgresql:15 || :; } && \
52
52
localedef -f UTF-8 -i en_US en_US.UTF-8 && \
53
53
test "$(id postgres)" = "uid=26(postgres) gid=26(postgres) groups=26(postgres)" && \
54
54
mkdir -p /var/lib/pgsql/data && \
55
- /usr/libexec/fix-permissions /var/lib/pgsql /var/run/postgresql
55
+ mkdir -p /run/postgresql && \
56
+ /usr/libexec/fix-permissions /var/lib/pgsql /run/postgresql
56
57
57
58
# Get prefix path and path to scripts rather than hard-code them in scripts
58
59
ENV CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/postgresql \
Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ RUN yum -y module enable postgresql:15 && \
54
54
localedef -f UTF-8 -i en_US en_US.UTF-8 && \
55
55
test "$(id postgres)" = "uid=26(postgres) gid=26(postgres) groups=26(postgres)" && \
56
56
mkdir -p /var/lib/pgsql/data && \
57
- /usr/libexec/fix-permissions /var/lib/pgsql /var/run/postgresql
57
+ mkdir -p /run/postgresql && \
58
+ /usr/libexec/fix-permissions /var/lib/pgsql /run/postgresql
58
59
59
60
# Get prefix path and path to scripts rather than hard-code them in scripts
60
61
ENV CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/postgresql \
Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ RUN { yum -y module enable postgresql:15 || :; } && \
54
54
localedef -f UTF-8 -i en_US en_US.UTF-8 && \
55
55
test "$(id postgres)" = "uid=26(postgres) gid=26(postgres) groups=26(postgres)" && \
56
56
mkdir -p /var/lib/pgsql/data && \
57
- /usr/libexec/fix-permissions /var/lib/pgsql /var/run/postgresql
57
+ mkdir -p /run/postgresql && \
58
+ /usr/libexec/fix-permissions /var/lib/pgsql /run/postgresql
58
59
59
60
# Get prefix path and path to scripts rather than hard-code them in scripts
60
61
ENV CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/postgresql \
Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ RUN { yum -y module enable postgresql:16 || :; } && \
52
52
localedef -f UTF-8 -i en_US en_US.UTF-8 && \
53
53
test "$(id postgres)" = "uid=26(postgres) gid=26(postgres) groups=26(postgres)" && \
54
54
mkdir -p /var/lib/pgsql/data && \
55
- /usr/libexec/fix-permissions /var/lib/pgsql /var/run/postgresql
55
+ mkdir -p /run/postgresql && \
56
+ /usr/libexec/fix-permissions /var/lib/pgsql /run/postgresql
56
57
57
58
# Get prefix path and path to scripts rather than hard-code them in scripts
58
59
ENV CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/postgresql \
Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ RUN yum -y module enable postgresql:16 && \
54
54
localedef -f UTF-8 -i en_US en_US.UTF-8 && \
55
55
test "$(id postgres)" = "uid=26(postgres) gid=26(postgres) groups=26(postgres)" && \
56
56
mkdir -p /var/lib/pgsql/data && \
57
- /usr/libexec/fix-permissions /var/lib/pgsql /var/run/postgresql
57
+ mkdir -p /run/postgresql && \
58
+ /usr/libexec/fix-permissions /var/lib/pgsql /run/postgresql
58
59
59
60
# Get prefix path and path to scripts rather than hard-code them in scripts
60
61
ENV CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/postgresql \
Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ RUN { yum -y module enable postgresql:16 || :; } && \
54
54
localedef -f UTF-8 -i en_US en_US.UTF-8 && \
55
55
test "$(id postgres)" = "uid=26(postgres) gid=26(postgres) groups=26(postgres)" && \
56
56
mkdir -p /var/lib/pgsql/data && \
57
- /usr/libexec/fix-permissions /var/lib/pgsql /var/run/postgresql
57
+ mkdir -p /run/postgresql && \
58
+ /usr/libexec/fix-permissions /var/lib/pgsql /run/postgresql
58
59
59
60
# Get prefix path and path to scripts rather than hard-code them in scripts
60
61
ENV CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/postgresql \
Original file line number Diff line number Diff line change @@ -81,7 +81,8 @@ RUN {{ spec.environment_setup }}
81
81
localedef -f UTF-8 -i en_US en_US.UTF-8 && \
82
82
test "$(id postgres)" = "uid=26(postgres) gid=26(postgres) groups=26(postgres)" && \
83
83
mkdir -p /var/lib/pgsql/data && \
84
- /usr/libexec/fix-permissions /var/lib/pgsql /var/run/postgresql
84
+ mkdir -p /run/postgresql && \
85
+ /usr/libexec/fix-permissions /var/lib/pgsql /run/postgresql
85
86
86
87
# Get prefix path and path to scripts rather than hard-code them in scripts
87
88
ENV CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/postgresql \
You can’t perform that action at this time.
0 commit comments