Skip to content

Commit

Permalink
Fix repmgr version (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
paunin committed Dec 17, 2018
1 parent 2f7fa65 commit bcb4427
Show file tree
Hide file tree
Showing 28 changed files with 128 additions and 55 deletions.
2 changes: 1 addition & 1 deletion make/barman/make.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
echo ">>> Making barman"

for VALS in "BARMAN_VERSION=2.3 BARMAN_PACKAGE_VERSION=2.3-2.pgdg80+1"\
"BARMAN_VERSION=2.4 BARMAN_LATEST=1"; do
"BARMAN_VERSION=2.4 BARMAN_PACKAGE_VERSION=2.4-1.pgdg80+1"; do
eval $VALS

for PG_CLIENT_VERSION in 9.6 10; do
Expand Down
3 changes: 2 additions & 1 deletion make/pgpool/make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ echo ">>> Making pgpool"

for VALS in "PGPOOL_VERSION=3.3 PGPOOL_PACKAGE_VERSION=3.3.4-1.pgdg70+1" \
"PGPOOL_VERSION=3.6 PGPOOL_PACKAGE_VERSION=3.6.7-1.pgdg80+1" \
"PGPOOL_VERSION=3.7 PGPOOL_LATEST=1"; do
"PGPOOL_VERSION=3.7 PGPOOL_PACKAGE_VERSION=3.7.5-2.pgdg80+1"; do
eval $VALS

for PG_CLIENT_VERSION in 9.6 10; do
Expand All @@ -14,3 +14,4 @@ for VALS in "PGPOOL_VERSION=3.3 PGPOOL_PACKAGE_VERSION=3.3.4-1.pgdg70+1" \
template $FILE_FROM $FILE_TO $VALS
done
done
unset PGPOOL_VERSION PGPOOL_PACKAGE_VERSION VALS
14 changes: 8 additions & 6 deletions make/postgres/make.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
echo ">>> Making postgres"


for VALS in "POSTGRES_VERSION=9.5 REPMGR_VERSION=3.2 REPMGR_PACKAGE_VERSION=3.3.2-1.pgdg80%2b1" \
"POSTGRES_VERSION=9.6 REPMGR_VERSION=3.2 REPMGR_PACKAGE_VERSION=3.3.2-1.pgdg80%2b1" \
"POSTGRES_VERSION=10 REPMGR_VERSION=3.2 REPMGR_PACKAGE_VERSION=3.3.2-1.pgdg80%2b1" \
"POSTGRES_VERSION=9.5 REPMGR_VERSION=4.0 REPMGR_PACKAGE_VERSION=4.0.6 REPMGR_LATEST=1" \
"POSTGRES_VERSION=9.6 REPMGR_VERSION=4.0 REPMGR_PACKAGE_VERSION=4.0.6 REPMGR_LATEST=1" \
"POSTGRES_VERSION=10 REPMGR_VERSION=4.0 REPMGR_PACKAGE_VERSION=4.0.6 REPMGR_LATEST=1"; do
for VALS in "POSTGRES_VERSION=9.5 REPMGR_VERSION=3.2 REPMGR_SYNTAX_V3=1 REPMGR_PACKAGE_VERSION=3.3.2-1.pgdg80+1" \
"POSTGRES_VERSION=9.6 REPMGR_VERSION=3.2 REPMGR_SYNTAX_V3=1 REPMGR_PACKAGE_VERSION=3.3.2-1.pgdg80+1" \
"POSTGRES_VERSION=10 REPMGR_VERSION=3.2 REPMGR_SYNTAX_V3=1 REPMGR_PACKAGE_VERSION=3.3.2-1.pgdg80+1" \
"POSTGRES_VERSION=9.5 REPMGR_VERSION=4.0 REPMGR_SYNTAX_V4=1 REPMGR_PACKAGE_VERSION=4.0.6-2.pgdg80+1" \
"POSTGRES_VERSION=9.6 REPMGR_VERSION=4.0 REPMGR_SYNTAX_V4=1 REPMGR_PACKAGE_VERSION=4.0.6-2.pgdg80+1" \
"POSTGRES_VERSION=10 REPMGR_VERSION=4.0 REPMGR_SYNTAX_V4=1 REPMGR_PACKAGE_VERSION=4.0.6-2.pgdg+1"; do
eval $VALS
FILE_FROM="./src/includes/dockerfile/Postgres-$POSTGRES_VERSION-Repmgr-$REPMGR_VERSION.part.Dockerfile"
FILE_FROM_EXT="./src/includes/dockerfile/Postgres-extended-$POSTGRES_VERSION-Repmgr-$REPMGR_VERSION.part.Dockerfile"
Expand All @@ -20,4 +20,6 @@ for VALS in "POSTGRES_VERSION=9.5 REPMGR_VERSION=3.2 REPMGR_PACKAGE_VERSION=3.3.

template $FILE_FROM $FILE_TO_EXT $VALS
template $FILE_FROM_EXT $FILE_TO_EXT

unset REPMGR_SYNTAX_V4 REPMGR_SYNTAX_V3 POSTGRES_VERSION REPMGR_VERSION REPMGR_PACKAGE_VERSION
done
2 changes: 1 addition & 1 deletion src/Barman-2.3-Postgres-10.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Sat 2 Jun 2018 15:28:51 +07 ##
## BUILD_NUMBER=Sun 16 Dec 2018 00:29:32 +08 ##
##########################################################################

FROM golang:1.8-jessie
Expand Down
2 changes: 1 addition & 1 deletion src/Barman-2.3-Postgres-9.6.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Sat 2 Jun 2018 15:28:51 +07 ##
## BUILD_NUMBER=Sun 16 Dec 2018 00:29:32 +08 ##
##########################################################################

FROM golang:1.8-jessie
Expand Down
7 changes: 5 additions & 2 deletions src/Barman-2.4-Postgres-10.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Sat 2 Jun 2018 15:28:51 +07 ##
## BUILD_NUMBER=Sun 16 Dec 2018 00:29:32 +08 ##
##########################################################################

FROM golang:1.8-jessie
Expand All @@ -26,7 +26,10 @@ RUN wget -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | apt-key a

RUN apt-get install -y postgresql-client-10

RUN apt-get install -y barman=2.4\*

RUN TEMP_DEB="$(mktemp)" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/b/barman/barman_2.4-1.pgdg80+1_all.deb" && \
(dpkg -i "$TEMP_DEB" || apt-get install -y -f) && rm -f "$TEMP_DEB"

RUN apt-get -y install cron
ADD barman/crontab /etc/cron.d/barman
Expand Down
7 changes: 5 additions & 2 deletions src/Barman-2.4-Postgres-9.6.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Sat 2 Jun 2018 15:28:51 +07 ##
## BUILD_NUMBER=Sun 16 Dec 2018 00:29:32 +08 ##
##########################################################################

FROM golang:1.8-jessie
Expand All @@ -26,7 +26,10 @@ RUN wget -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | apt-key a

RUN apt-get install -y postgresql-client-9.6

RUN apt-get install -y barman=2.4\*

RUN TEMP_DEB="$(mktemp)" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/b/barman/barman_2.4-1.pgdg80+1_all.deb" && \
(dpkg -i "$TEMP_DEB" || apt-get install -y -f) && rm -f "$TEMP_DEB"

RUN apt-get -y install cron
ADD barman/crontab /etc/cron.d/barman
Expand Down
2 changes: 1 addition & 1 deletion src/Pgpool-3.3-Postgres-10.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Sat 2 Jun 2018 15:28:51 +07 ##
## BUILD_NUMBER=Sun 16 Dec 2018 15:57:54 +08 ##
##########################################################################

FROM debian:jessie
Expand Down
2 changes: 1 addition & 1 deletion src/Pgpool-3.3-Postgres-9.6.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Sat 2 Jun 2018 15:28:51 +07 ##
## BUILD_NUMBER=Sun 16 Dec 2018 15:57:54 +08 ##
##########################################################################

FROM debian:jessie
Expand Down
2 changes: 1 addition & 1 deletion src/Pgpool-3.6-Postgres-10.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Sat 2 Jun 2018 15:28:51 +07 ##
## BUILD_NUMBER=Sun 16 Dec 2018 15:57:54 +08 ##
##########################################################################

FROM debian:jessie
Expand Down
2 changes: 1 addition & 1 deletion src/Pgpool-3.6-Postgres-9.6.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Sat 2 Jun 2018 15:28:51 +07 ##
## BUILD_NUMBER=Sun 16 Dec 2018 15:57:54 +08 ##
##########################################################################

FROM debian:jessie
Expand Down
7 changes: 5 additions & 2 deletions src/Pgpool-3.7-Postgres-10.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Sat 2 Jun 2018 15:28:51 +07 ##
## BUILD_NUMBER=Sun 16 Dec 2018 15:57:54 +08 ##
##########################################################################

FROM debian:jessie
Expand Down Expand Up @@ -30,7 +30,10 @@ RUN apt-get install -y libffi-dev libssl-dev openssh-server

RUN apt-get install -y postgresql-client-10

RUN apt-get install -y libpgpool0=3.7\* pgpool2=3.7\*

RUN TEMP_DEB="$(mktemp)" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/p/pgpool2/pgpool2_3.7.5-2.pgdg80+1_amd64.deb" && \
(dpkg -i "$TEMP_DEB" || apt-get install -y -f) && rm -f "$TEMP_DEB"

RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz && \
tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz
Expand Down
7 changes: 5 additions & 2 deletions src/Pgpool-3.7-Postgres-9.6.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Sat 2 Jun 2018 15:28:51 +07 ##
## BUILD_NUMBER=Sun 16 Dec 2018 15:57:54 +08 ##
##########################################################################

FROM debian:jessie
Expand Down Expand Up @@ -30,7 +30,10 @@ RUN apt-get install -y libffi-dev libssl-dev openssh-server

RUN apt-get install -y postgresql-client-9.6

RUN apt-get install -y libpgpool0=3.7\* pgpool2=3.7\*

RUN TEMP_DEB="$(mktemp)" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/p/pgpool2/pgpool2_3.7.5-2.pgdg80+1_amd64.deb" && \
(dpkg -i "$TEMP_DEB" || apt-get install -y -f) && rm -f "$TEMP_DEB"

RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz && \
tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz
Expand Down
6 changes: 3 additions & 3 deletions src/Postgres-10-Repmgr-3.2.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Wed 4 Jul 2018 10:16:37 MSK ##
## BUILD_NUMBER=Sun 16 Dec 2018 15:57:47 +08 ##
##########################################################################

FROM postgres:10
Expand All @@ -11,9 +11,9 @@ RUN apt-get update --fix-missing && \


RUN TEMP_DEB="$(mktemp)" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/repmgr-common_3.3.2-1.pgdg80%2b1_all.deb" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/repmgr-common_3.3.2-1.pgdg80+1_all.deb" && \
dpkg -i "$TEMP_DEB" && rm -f "$TEMP_DEB" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/postgresql-$PG_MAJOR-repmgr_3.3.2-1.pgdg80%2b1_amd64.deb" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/postgresql-$PG_MAJOR-repmgr_3.3.2-1.pgdg80+1_amd64.deb" && \
(dpkg -i "$TEMP_DEB" || apt-get install -y -f) && rm -f "$TEMP_DEB"

# Inherited variables
Expand Down
9 changes: 7 additions & 2 deletions src/Postgres-10-Repmgr-4.0.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Wed 4 Jul 2018 10:16:37 MSK ##
## BUILD_NUMBER=Sun 16 Dec 2018 15:57:47 +08 ##
##########################################################################

FROM postgres:10

RUN apt-get update --fix-missing && \
apt-get install -y postgresql-server-dev-$PG_MAJOR wget openssh-server barman-cli

RUN apt-get install -y postgresql-$PG_MAJOR-repmgr=4.0.6\*

RUN TEMP_DEB="$(mktemp)" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/repmgr-common_4.0.6-2.pgdg+1_all.deb" && \
dpkg -i "$TEMP_DEB" && rm -f "$TEMP_DEB" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/postgresql-$PG_MAJOR-repmgr_4.0.6-2.pgdg+1_amd64.deb" && \
(dpkg -i "$TEMP_DEB" || apt-get install -y -f) && rm -f "$TEMP_DEB"

# Inherited variables
# ENV POSTGRES_PASSWORD monkey_pass
Expand Down
6 changes: 3 additions & 3 deletions src/Postgres-9.5-Repmgr-3.2.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Wed 4 Jul 2018 10:16:37 MSK ##
## BUILD_NUMBER=Sun 16 Dec 2018 15:57:47 +08 ##
##########################################################################

FROM postgres:9.5
Expand All @@ -11,9 +11,9 @@ RUN apt-get update --fix-missing && \


RUN TEMP_DEB="$(mktemp)" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/repmgr-common_3.3.2-1.pgdg80%2b1_all.deb" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/repmgr-common_3.3.2-1.pgdg80+1_all.deb" && \
dpkg -i "$TEMP_DEB" && rm -f "$TEMP_DEB" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/postgresql-$PG_MAJOR-repmgr_3.3.2-1.pgdg80%2b1_amd64.deb" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/postgresql-$PG_MAJOR-repmgr_3.3.2-1.pgdg80+1_amd64.deb" && \
(dpkg -i "$TEMP_DEB" || apt-get install -y -f) && rm -f "$TEMP_DEB"

# Inherited variables
Expand Down
9 changes: 7 additions & 2 deletions src/Postgres-9.5-Repmgr-4.0.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Wed 4 Jul 2018 10:16:37 MSK ##
## BUILD_NUMBER=Sun 16 Dec 2018 15:57:47 +08 ##
##########################################################################

FROM postgres:9.5

RUN apt-get update --fix-missing && \
apt-get install -y postgresql-server-dev-$PG_MAJOR wget openssh-server barman-cli

RUN apt-get install -y postgresql-$PG_MAJOR-repmgr=4.0.6\*

RUN TEMP_DEB="$(mktemp)" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/repmgr-common_4.0.6-2.pgdg80+1_all.deb" && \
dpkg -i "$TEMP_DEB" && rm -f "$TEMP_DEB" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/postgresql-$PG_MAJOR-repmgr_4.0.6-2.pgdg80+1_amd64.deb" && \
(dpkg -i "$TEMP_DEB" || apt-get install -y -f) && rm -f "$TEMP_DEB"

# Inherited variables
# ENV POSTGRES_PASSWORD monkey_pass
Expand Down
6 changes: 3 additions & 3 deletions src/Postgres-9.6-Repmgr-3.2.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Wed 4 Jul 2018 10:16:37 MSK ##
## BUILD_NUMBER=Sun 16 Dec 2018 15:57:47 +08 ##
##########################################################################

FROM postgres:9.6
Expand All @@ -11,9 +11,9 @@ RUN apt-get update --fix-missing && \


RUN TEMP_DEB="$(mktemp)" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/repmgr-common_3.3.2-1.pgdg80%2b1_all.deb" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/repmgr-common_3.3.2-1.pgdg80+1_all.deb" && \
dpkg -i "$TEMP_DEB" && rm -f "$TEMP_DEB" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/postgresql-$PG_MAJOR-repmgr_3.3.2-1.pgdg80%2b1_amd64.deb" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/postgresql-$PG_MAJOR-repmgr_3.3.2-1.pgdg80+1_amd64.deb" && \
(dpkg -i "$TEMP_DEB" || apt-get install -y -f) && rm -f "$TEMP_DEB"

# Inherited variables
Expand Down
9 changes: 7 additions & 2 deletions src/Postgres-9.6-Repmgr-4.0.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Wed 4 Jul 2018 10:16:37 MSK ##
## BUILD_NUMBER=Sun 16 Dec 2018 15:57:47 +08 ##
##########################################################################

FROM postgres:9.6

RUN apt-get update --fix-missing && \
apt-get install -y postgresql-server-dev-$PG_MAJOR wget openssh-server barman-cli

RUN apt-get install -y postgresql-$PG_MAJOR-repmgr=4.0.6\*

RUN TEMP_DEB="$(mktemp)" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/repmgr-common_4.0.6-2.pgdg80+1_all.deb" && \
dpkg -i "$TEMP_DEB" && rm -f "$TEMP_DEB" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/postgresql-$PG_MAJOR-repmgr_4.0.6-2.pgdg80+1_amd64.deb" && \
(dpkg -i "$TEMP_DEB" || apt-get install -y -f) && rm -f "$TEMP_DEB"

# Inherited variables
# ENV POSTGRES_PASSWORD monkey_pass
Expand Down
6 changes: 3 additions & 3 deletions src/Postgres-extended-10-Repmgr-3.2.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Wed 4 Jul 2018 10:16:37 MSK ##
## BUILD_NUMBER=Sun 16 Dec 2018 15:57:47 +08 ##
##########################################################################

FROM postgres:10
Expand All @@ -11,9 +11,9 @@ RUN apt-get update --fix-missing && \


RUN TEMP_DEB="$(mktemp)" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/repmgr-common_3.3.2-1.pgdg80%2b1_all.deb" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/repmgr-common_3.3.2-1.pgdg80+1_all.deb" && \
dpkg -i "$TEMP_DEB" && rm -f "$TEMP_DEB" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/postgresql-$PG_MAJOR-repmgr_3.3.2-1.pgdg80%2b1_amd64.deb" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/postgresql-$PG_MAJOR-repmgr_3.3.2-1.pgdg80+1_amd64.deb" && \
(dpkg -i "$TEMP_DEB" || apt-get install -y -f) && rm -f "$TEMP_DEB"

# Inherited variables
Expand Down
9 changes: 7 additions & 2 deletions src/Postgres-extended-10-Repmgr-4.0.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Wed 4 Jul 2018 10:16:37 MSK ##
## BUILD_NUMBER=Sun 16 Dec 2018 15:57:47 +08 ##
##########################################################################

FROM postgres:10

RUN apt-get update --fix-missing && \
apt-get install -y postgresql-server-dev-$PG_MAJOR wget openssh-server barman-cli

RUN apt-get install -y postgresql-$PG_MAJOR-repmgr=4.0.6\*

RUN TEMP_DEB="$(mktemp)" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/repmgr-common_4.0.6-2.pgdg+1_all.deb" && \
dpkg -i "$TEMP_DEB" && rm -f "$TEMP_DEB" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/postgresql-$PG_MAJOR-repmgr_4.0.6-2.pgdg+1_amd64.deb" && \
(dpkg -i "$TEMP_DEB" || apt-get install -y -f) && rm -f "$TEMP_DEB"

# Inherited variables
# ENV POSTGRES_PASSWORD monkey_pass
Expand Down
6 changes: 3 additions & 3 deletions src/Postgres-extended-9.5-Repmgr-3.2.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Wed 4 Jul 2018 10:16:37 MSK ##
## BUILD_NUMBER=Sun 16 Dec 2018 15:57:47 +08 ##
##########################################################################

FROM postgres:9.5
Expand All @@ -11,9 +11,9 @@ RUN apt-get update --fix-missing && \


RUN TEMP_DEB="$(mktemp)" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/repmgr-common_3.3.2-1.pgdg80%2b1_all.deb" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/repmgr-common_3.3.2-1.pgdg80+1_all.deb" && \
dpkg -i "$TEMP_DEB" && rm -f "$TEMP_DEB" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/postgresql-$PG_MAJOR-repmgr_3.3.2-1.pgdg80%2b1_amd64.deb" && \
wget -O "$TEMP_DEB" "http://atalia.postgresql.org/morgue/r/repmgr/postgresql-$PG_MAJOR-repmgr_3.3.2-1.pgdg80+1_amd64.deb" && \
(dpkg -i "$TEMP_DEB" || apt-get install -y -f) && rm -f "$TEMP_DEB"

# Inherited variables
Expand Down
Loading

0 comments on commit bcb4427

Please sign in to comment.