Skip to content

Commit

Permalink
Fix barman homedir
Browse files Browse the repository at this point in the history
  • Loading branch information
paunin committed Oct 26, 2019
1 parent 7ea0c0a commit 9b6aeea
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Barman-2.3-Postgres-10.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ ADD barman/crontab /etc/cron.d/barman
RUN rm -f /etc/cron.daily/*

RUN groupadd -r postgres --gid=999 && useradd -r -g postgres -d /home/postgres --uid=999 postgres
RUN mkdir /home/postgres && chown postgres:postgres /home/postgres

ENV UPSTREAM_NAME pg_cluster
ENV UPSTREAM_CONFIG_FILE /etc/barman.d/upstream.conf
Expand Down
1 change: 1 addition & 0 deletions src/Barman-2.3-Postgres-11.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ ADD barman/crontab /etc/cron.d/barman
RUN rm -f /etc/cron.daily/*

RUN groupadd -r postgres --gid=999 && useradd -r -g postgres -d /home/postgres --uid=999 postgres
RUN mkdir /home/postgres && chown postgres:postgres /home/postgres

ENV UPSTREAM_NAME pg_cluster
ENV UPSTREAM_CONFIG_FILE /etc/barman.d/upstream.conf
Expand Down
1 change: 1 addition & 0 deletions src/Barman-2.3-Postgres-9.6.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ ADD barman/crontab /etc/cron.d/barman
RUN rm -f /etc/cron.daily/*

RUN groupadd -r postgres --gid=999 && useradd -r -g postgres -d /home/postgres --uid=999 postgres
RUN mkdir /home/postgres && chown postgres:postgres /home/postgres

ENV UPSTREAM_NAME pg_cluster
ENV UPSTREAM_CONFIG_FILE /etc/barman.d/upstream.conf
Expand Down
1 change: 1 addition & 0 deletions src/Barman-2.4-Postgres-10.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ ADD barman/crontab /etc/cron.d/barman
RUN rm -f /etc/cron.daily/*

RUN groupadd -r postgres --gid=999 && useradd -r -g postgres -d /home/postgres --uid=999 postgres
RUN mkdir /home/postgres && chown postgres:postgres /home/postgres

ENV UPSTREAM_NAME pg_cluster
ENV UPSTREAM_CONFIG_FILE /etc/barman.d/upstream.conf
Expand Down
1 change: 1 addition & 0 deletions src/Barman-2.4-Postgres-11.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ ADD barman/crontab /etc/cron.d/barman
RUN rm -f /etc/cron.daily/*

RUN groupadd -r postgres --gid=999 && useradd -r -g postgres -d /home/postgres --uid=999 postgres
RUN mkdir /home/postgres && chown postgres:postgres /home/postgres

ENV UPSTREAM_NAME pg_cluster
ENV UPSTREAM_CONFIG_FILE /etc/barman.d/upstream.conf
Expand Down
1 change: 1 addition & 0 deletions src/Barman-2.4-Postgres-9.6.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ ADD barman/crontab /etc/cron.d/barman
RUN rm -f /etc/cron.daily/*

RUN groupadd -r postgres --gid=999 && useradd -r -g postgres -d /home/postgres --uid=999 postgres
RUN mkdir /home/postgres && chown postgres:postgres /home/postgres

ENV UPSTREAM_NAME pg_cluster
ENV UPSTREAM_CONFIG_FILE /etc/barman.d/upstream.conf
Expand Down
1 change: 1 addition & 0 deletions src/includes/dockerfile/Barman-2.3-2.4.part.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ ADD barman/crontab /etc/cron.d/barman
RUN rm -f /etc/cron.daily/*

RUN groupadd -r postgres --gid=999 && useradd -r -g postgres -d /home/postgres --uid=999 postgres
RUN mkdir /home/postgres && chown postgres:postgres /home/postgres

ENV UPSTREAM_NAME pg_cluster
ENV UPSTREAM_CONFIG_FILE /etc/barman.d/upstream.conf
Expand Down

0 comments on commit 9b6aeea

Please sign in to comment.