Merge pull request #6 from infosiftr/fix-var-run
Fix /var/run ownership
This commit is contained in:
commit
c6484bf22f
|
|
@ -23,6 +23,8 @@ RUN apt-get update \
|
||||||
postgresql-$PG_MAJOR=$PG_VERSION \
|
postgresql-$PG_MAJOR=$PG_VERSION \
|
||||||
postgresql-contrib-$PG_MAJOR=$PG_VERSION
|
postgresql-contrib-$PG_MAJOR=$PG_VERSION
|
||||||
|
|
||||||
|
RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
|
||||||
|
|
||||||
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
|
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
|
||||||
ENV PGDATA /var/lib/postgresql/data
|
ENV PGDATA /var/lib/postgresql/data
|
||||||
VOLUME /var/lib/postgresql/data
|
VOLUME /var/lib/postgresql/data
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,8 @@ RUN apt-get update \
|
||||||
postgresql-$PG_MAJOR=$PG_VERSION \
|
postgresql-$PG_MAJOR=$PG_VERSION \
|
||||||
postgresql-contrib-$PG_MAJOR=$PG_VERSION
|
postgresql-contrib-$PG_MAJOR=$PG_VERSION
|
||||||
|
|
||||||
|
RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
|
||||||
|
|
||||||
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
|
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
|
||||||
ENV PGDATA /var/lib/postgresql/data
|
ENV PGDATA /var/lib/postgresql/data
|
||||||
VOLUME /var/lib/postgresql/data
|
VOLUME /var/lib/postgresql/data
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,8 @@ RUN apt-get update \
|
||||||
postgresql-$PG_MAJOR=$PG_VERSION \
|
postgresql-$PG_MAJOR=$PG_VERSION \
|
||||||
postgresql-contrib-$PG_MAJOR=$PG_VERSION
|
postgresql-contrib-$PG_MAJOR=$PG_VERSION
|
||||||
|
|
||||||
|
RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
|
||||||
|
|
||||||
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
|
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
|
||||||
ENV PGDATA /var/lib/postgresql/data
|
ENV PGDATA /var/lib/postgresql/data
|
||||||
VOLUME /var/lib/postgresql/data
|
VOLUME /var/lib/postgresql/data
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,8 @@ RUN apt-get update \
|
||||||
postgresql-$PG_MAJOR=$PG_VERSION \
|
postgresql-$PG_MAJOR=$PG_VERSION \
|
||||||
postgresql-contrib-$PG_MAJOR=$PG_VERSION
|
postgresql-contrib-$PG_MAJOR=$PG_VERSION
|
||||||
|
|
||||||
|
RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
|
||||||
|
|
||||||
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
|
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
|
||||||
ENV PGDATA /var/lib/postgresql/data
|
ENV PGDATA /var/lib/postgresql/data
|
||||||
VOLUME /var/lib/postgresql/data
|
VOLUME /var/lib/postgresql/data
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,8 @@ RUN apt-get update \
|
||||||
postgresql-$PG_MAJOR=$PG_VERSION \
|
postgresql-$PG_MAJOR=$PG_VERSION \
|
||||||
postgresql-contrib-$PG_MAJOR=$PG_VERSION
|
postgresql-contrib-$PG_MAJOR=$PG_VERSION
|
||||||
|
|
||||||
|
RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
|
||||||
|
|
||||||
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
|
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
|
||||||
ENV PGDATA /var/lib/postgresql/data
|
ENV PGDATA /var/lib/postgresql/data
|
||||||
VOLUME /var/lib/postgresql/data
|
VOLUME /var/lib/postgresql/data
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,8 @@ RUN apt-get update \
|
||||||
postgresql-$PG_MAJOR=$PG_VERSION \
|
postgresql-$PG_MAJOR=$PG_VERSION \
|
||||||
postgresql-contrib-$PG_MAJOR=$PG_VERSION
|
postgresql-contrib-$PG_MAJOR=$PG_VERSION
|
||||||
|
|
||||||
|
RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
|
||||||
|
|
||||||
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
|
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
|
||||||
ENV PGDATA /var/lib/postgresql/data
|
ENV PGDATA /var/lib/postgresql/data
|
||||||
VOLUME /var/lib/postgresql/data
|
VOLUME /var/lib/postgresql/data
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,8 @@ RUN apt-get update \
|
||||||
postgresql-$PG_MAJOR=$PG_VERSION \
|
postgresql-$PG_MAJOR=$PG_VERSION \
|
||||||
postgresql-contrib-$PG_MAJOR=$PG_VERSION
|
postgresql-contrib-$PG_MAJOR=$PG_VERSION
|
||||||
|
|
||||||
|
RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
|
||||||
|
|
||||||
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
|
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
|
||||||
ENV PGDATA /var/lib/postgresql/data
|
ENV PGDATA /var/lib/postgresql/data
|
||||||
VOLUME /var/lib/postgresql/data
|
VOLUME /var/lib/postgresql/data
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue