File tree Expand file tree Collapse file tree 7 files changed +14
-0
lines changed Expand file tree Collapse file tree 7 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ RUN apt-get update \
23
23
postgresql-$PG_MAJOR=$PG_VERSION \
24
24
postgresql-contrib-$PG_MAJOR=$PG_VERSION
25
25
26
+ RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
27
+
26
28
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
27
29
ENV PGDATA /var/lib/postgresql/data
28
30
VOLUME /var/lib/postgresql/data
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ RUN apt-get update \
23
23
postgresql-$PG_MAJOR=$PG_VERSION \
24
24
postgresql-contrib-$PG_MAJOR=$PG_VERSION
25
25
26
+ RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
27
+
26
28
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
27
29
ENV PGDATA /var/lib/postgresql/data
28
30
VOLUME /var/lib/postgresql/data
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ RUN apt-get update \
23
23
postgresql-$PG_MAJOR=$PG_VERSION \
24
24
postgresql-contrib-$PG_MAJOR=$PG_VERSION
25
25
26
+ RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
27
+
26
28
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
27
29
ENV PGDATA /var/lib/postgresql/data
28
30
VOLUME /var/lib/postgresql/data
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ RUN apt-get update \
23
23
postgresql-$PG_MAJOR=$PG_VERSION \
24
24
postgresql-contrib-$PG_MAJOR=$PG_VERSION
25
25
26
+ RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
27
+
26
28
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
27
29
ENV PGDATA /var/lib/postgresql/data
28
30
VOLUME /var/lib/postgresql/data
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ RUN apt-get update \
23
23
postgresql-$PG_MAJOR=$PG_VERSION \
24
24
postgresql-contrib-$PG_MAJOR=$PG_VERSION
25
25
26
+ RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
27
+
26
28
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
27
29
ENV PGDATA /var/lib/postgresql/data
28
30
VOLUME /var/lib/postgresql/data
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ RUN apt-get update \
23
23
postgresql-$PG_MAJOR=$PG_VERSION \
24
24
postgresql-contrib-$PG_MAJOR=$PG_VERSION
25
25
26
+ RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
27
+
26
28
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
27
29
ENV PGDATA /var/lib/postgresql/data
28
30
VOLUME /var/lib/postgresql/data
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ RUN apt-get update \
23
23
postgresql-$PG_MAJOR=$PG_VERSION \
24
24
postgresql-contrib-$PG_MAJOR=$PG_VERSION
25
25
26
+ RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
27
+
26
28
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
27
29
ENV PGDATA /var/lib/postgresql/data
28
30
VOLUME /var/lib/postgresql/data
You can’t perform that action at this time.
0 commit comments