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 \
2323postgresql-$PG_MAJOR=$PG_VERSION \
2424postgresql-contrib-$PG_MAJOR=$PG_VERSION
2525
26+ RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
27+
2628ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
2729ENV PGDATA /var/lib/postgresql/data
2830VOLUME /var/lib/postgresql/data
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ RUN apt-get update \
2323postgresql-$PG_MAJOR=$PG_VERSION \
2424postgresql-contrib-$PG_MAJOR=$PG_VERSION
2525
26+ RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
27+
2628ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
2729ENV PGDATA /var/lib/postgresql/data
2830VOLUME /var/lib/postgresql/data
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ RUN apt-get update \
2323postgresql-$PG_MAJOR=$PG_VERSION \
2424postgresql-contrib-$PG_MAJOR=$PG_VERSION
2525
26+ RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
27+
2628ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
2729ENV PGDATA /var/lib/postgresql/data
2830VOLUME /var/lib/postgresql/data
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ RUN apt-get update \
2323postgresql-$PG_MAJOR=$PG_VERSION \
2424postgresql-contrib-$PG_MAJOR=$PG_VERSION
2525
26+ RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
27+
2628ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
2729ENV PGDATA /var/lib/postgresql/data
2830VOLUME /var/lib/postgresql/data
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ RUN apt-get update \
2323postgresql-$PG_MAJOR=$PG_VERSION \
2424postgresql-contrib-$PG_MAJOR=$PG_VERSION
2525
26+ RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
27+
2628ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
2729ENV PGDATA /var/lib/postgresql/data
2830VOLUME /var/lib/postgresql/data
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ RUN apt-get update \
2323postgresql-$PG_MAJOR=$PG_VERSION \
2424postgresql-contrib-$PG_MAJOR=$PG_VERSION
2525
26+ RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
27+
2628ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
2729ENV PGDATA /var/lib/postgresql/data
2830VOLUME /var/lib/postgresql/data
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ RUN apt-get update \
2323postgresql-$PG_MAJOR=$PG_VERSION \
2424postgresql-contrib-$PG_MAJOR=$PG_VERSION
2525
26+ RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
27+
2628ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
2729ENV PGDATA /var/lib/postgresql/data
2830VOLUME /var/lib/postgresql/data
You can’t perform that action at this time.
0 commit comments