aboutsummaryrefslogtreecommitdiff
path: root/app/postgres
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-08-24 15:58:09 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-08-24 15:58:21 +0200
commit11a2ffa89d914829271fc3084adcd200223ca4c0 (patch)
treedc415a5c1ad3049aee8017a815dde1ab6706f9c6 /app/postgres
parentae91f66fac238c9fa8bd669f69c2d5f5582d7d41 (diff)
downloadinfrastructure-11a2ffa89d914829271fc3084adcd200223ca4c0.tar.gz
infrastructure-11a2ffa89d914829271fc3084adcd200223ca4c0.zip
Upgrade Stolon to Posgtgres 14
Diffstat (limited to 'app/postgres')
-rw-r--r--app/postgres/build/postgres/Dockerfile4
1 files changed, 2 insertions, 2 deletions
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 []