aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@dufour.io>2021-07-02 14:08:22 +0200
committerQuentin Dufour <quentin@dufour.io>2021-07-02 14:08:22 +0200
commit2670c8f8f1be5d3b1f0a61b9f3f25a115e261e42 (patch)
tree5f10f8eebff286bc678588c2d4f279480ff18333
parent0a6ffcacd209a1693677f3839d427f471f8fd639 (diff)
downloadinfrastructure-2670c8f8f1be5d3b1f0a61b9f3f25a115e261e42.tar.gz
infrastructure-2670c8f8f1be5d3b1f0a61b9f3f25a115e261e42.zip
libc is needed fos stolon
-rw-r--r--app/docker-compose.yml2
-rw-r--r--app/postgres/build/postgres/Dockerfile4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/docker-compose.yml b/app/docker-compose.yml
index 82bacd5..6c461b6 100644
--- a/app/docker-compose.yml
+++ b/app/docker-compose.yml
@@ -98,7 +98,7 @@ services:
# https://github.com/sorintlab/stolon/releases
STOLON_VERSION: 057389f7e484ee1d5c1e1a7020256020e7413c87
context: ./postgres/build/postgres
- image: superboum/amd64_postgres:v6
+ image: superboum/amd64_postgres:v7
backup-consul:
build:
diff --git a/app/postgres/build/postgres/Dockerfile b/app/postgres/build/postgres/Dockerfile
index 71b24b5..e0a39a2 100644
--- a/app/postgres/build/postgres/Dockerfile
+++ b/app/postgres/build/postgres/Dockerfile
@@ -9,6 +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 postgres:13.3-alpine
+FROM postgres:13.3-buster
COPY --from=builder /stolon/bin /usr/local/bin
-
+ENTRYPOINT ["/bin/bash"]