File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -30,9 +30,16 @@ LABEL fly.pg-version=${PG_VERSION}
30
30
LABEL fly.pg-manager=repmgr
31
31
32
32
RUN apt-get update && apt-get install --no-install-recommends -y \
33
- ca-certificates iproute2 postgresql-$PG_MAJOR_VERSION-repmgr curl bash dnsutils vim socat procps ssh gnupg rsync barman-cli barman barman-cli-cloud cron \
33
+ ca-certificates iproute2 curl bash dnsutils vim socat procps ssh gnupg rsync barman-cli barman barman-cli-cloud cron \
34
34
&& apt autoremove -y
35
35
36
+ # Repmgr
37
+ RUN curl -L https://launchpad.net/ubuntu/+archive/primary/+files/postgresql-${PG_MAJOR_VERSION}-repmgr_5.3.3-2_amd64.deb -o postgresql-${PG_MAJOR_VERSION}-repmgr_5.3.3-2_amd64.deb
38
+
39
+ RUN apt-get update && \
40
+ apt-get install -y ./postgresql-${PG_MAJOR_VERSION}-repmgr_5.3.3-2_amd64.deb \
41
+ && rm ./postgresql-${PG_MAJOR_VERSION}-repmgr_5.3.3-2_amd64.deb
42
+
36
43
# PostGIS
37
44
RUN apt-get update && apt-get install --no-install-recommends -y \
38
45
postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \
Original file line number Diff line number Diff line change @@ -31,9 +31,16 @@ LABEL fly.pg-version=${PG_VERSION}
31
31
LABEL fly.pg-manager=repmgr
32
32
33
33
RUN apt-get update && apt-get install --no-install-recommends -y \
34
- ca-certificates iproute2 postgresql-$PG_MAJOR_VERSION-repmgr curl bash dnsutils vim haproxy socat procps ssh gnupg rsync barman-cli barman barman-cli-cloud cron \
34
+ ca-certificates iproute2 curl bash dnsutils vim haproxy socat procps ssh gnupg rsync barman-cli barman barman-cli-cloud cron \
35
35
&& apt autoremove -y
36
36
37
+ # Repmgr
38
+ RUN curl -L https://launchpad.net/ubuntu/+archive/primary/+files/postgresql-${PG_MAJOR_VERSION}-repmgr_5.3.3-2_amd64.deb -o postgresql-${PG_MAJOR_VERSION}-repmgr_5.3.3-2_amd64.deb
39
+
40
+ RUN apt-get update && \
41
+ apt-get install -y ./postgresql-${PG_MAJOR_VERSION}-repmgr_5.3.3-2_amd64.deb \
42
+ && rm ./postgresql-${PG_MAJOR_VERSION}-repmgr_5.3.3-2_amd64.deb
43
+
37
44
RUN echo "deb https://packagecloud.io/timescale/timescaledb/debian/ $(cat /etc/os-release | grep VERSION_CODENAME | cut -d'=' -f2) main" > /etc/apt/sources.list.d/timescaledb.list \
38
45
&& curl -L https://packagecloud.io/timescale/timescaledb/gpgkey | apt-key add -
39
46
You can’t perform that action at this time.
0 commit comments