From 11a2ffa89d914829271fc3084adcd200223ca4c0 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Wed, 24 Aug 2022 15:58:09 +0200 Subject: Upgrade Stolon to Posgtgres 14 --- app/docker-compose.yml | 4 ++-- app/postgres/build/postgres/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/docker-compose.yml b/app/docker-compose.yml index 9a5d5f1..6e717bd 100644 --- a/app/docker-compose.yml +++ b/app/docker-compose.yml @@ -97,9 +97,9 @@ services: build: args: # https://github.com/sorintlab/stolon/releases - STOLON_VERSION: 057389f7e484ee1d5c1e1a7020256020e7413c87 + STOLON_VERSION: 3bb7499f815f77140551eb762b200cf4557f57d3 context: ./postgres/build/postgres - image: superboum/amd64_postgres:v9 + image: superboum/amd64_postgres:v10 backup-consul: build: diff --git a/app/postgres/build/postgres/Dockerfile b/app/postgres/build/postgres/Dockerfile index 329d707..d7b3473 100644 --- a/app/postgres/build/postgres/Dockerfile +++ b/app/postgres/build/postgres/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.13-buster AS builder +FROM golang:1.19.0-bullseye AS builder ARG STOLON_VERSION WORKDIR /stolon @@ -9,7 +9,7 @@ COPY 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/* -FROM postgres:13.3-buster +FROM postgres:14.5-bullseye COPY --from=builder /stolon/bin /usr/local/bin USER postgres ENTRYPOINT [] -- cgit v1.2.3