From 2d61f1449dbcb502ba07bda6bdea387fdef2cbda Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Fri, 2 Jul 2021 13:10:49 +0200 Subject: Upgrade postgresql --- app/postgres/build/postgres/Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'app/postgres/build') diff --git a/app/postgres/build/postgres/Dockerfile b/app/postgres/build/postgres/Dockerfile index 4a9e280..71b24b5 100644 --- a/app/postgres/build/postgres/Dockerfile +++ b/app/postgres/build/postgres/Dockerfile @@ -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 make && chmod +x /stolon/bin/* -FROM amd64/debian:stretch -ARG PG_VERSION -RUN apt-get update && \ - apt-get install -y postgresql-all=${PG_VERSION} +FROM postgres:13.3-alpine COPY --from=builder /stolon/bin /usr/local/bin -USER postgres -- cgit v1.2.3