aboutsummaryrefslogtreecommitdiff
path: root/app/postgres
diff options
context:
space:
mode:
Diffstat (limited to 'app/postgres')
-rw-r--r--app/postgres/build/postgres/Dockerfile6
1 files changed, 1 insertions, 5 deletions
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