Upgrade postgresql

This commit is contained in:
Quentin 2021-07-02 13:10:49 +02:00
parent 42c020e00b
commit 2d61f1449d
2 changed files with 3 additions and 9 deletions

View file

@ -96,11 +96,9 @@ services:
build: build:
args: args:
# https://github.com/sorintlab/stolon/releases # https://github.com/sorintlab/stolon/releases
STOLON_VERSION: 2d0b8e516a4eaec01f3a9509cdc50a1d4ce8709c STOLON_VERSION: 057389f7e484ee1d5c1e1a7020256020e7413c87
# https://packages.debian.org/fr/stretch/postgresql-all
PG_VERSION: 9.6+181+deb9u3
context: ./postgres/build/postgres context: ./postgres/build/postgres
image: superboum/amd64_postgres:v5 image: superboum/amd64_postgres:v6
backup-consul: backup-consul:
build: build:

View file

@ -9,10 +9,6 @@ COPY 0001-Add-max-rate-to-pg_basebackup.patch .
RUN git apply 0001-Add-max-rate-to-pg_basebackup.patch RUN git apply 0001-Add-max-rate-to-pg_basebackup.patch
RUN make && chmod +x /stolon/bin/* RUN make && chmod +x /stolon/bin/*
FROM amd64/debian:stretch FROM postgres:13.3-alpine
ARG PG_VERSION
RUN apt-get update && \
apt-get install -y postgresql-all=${PG_VERSION}
COPY --from=builder /stolon/bin /usr/local/bin COPY --from=builder /stolon/bin /usr/local/bin
USER postgres