aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@dufour.io>2021-07-02 14:16:33 +0200
committerQuentin Dufour <quentin@dufour.io>2021-07-02 14:16:33 +0200
commite97496e09d61c1c0c9788e0dfaeea2f2cde7b215 (patch)
treeb5c0d3d01e742cc179adf6cc22a4d3f7f7cf32a8
parent2670c8f8f1be5d3b1f0a61b9f3f25a115e261e42 (diff)
downloadinfrastructure-e97496e09d61c1c0c9788e0dfaeea2f2cde7b215.tar.gz
infrastructure-e97496e09d61c1c0c9788e0dfaeea2f2cde7b215.zip
fix entrypoint
-rw-r--r--app/docker-compose.yml2
-rw-r--r--app/postgres/build/postgres/Dockerfile3
2 files changed, 3 insertions, 2 deletions
diff --git a/app/docker-compose.yml b/app/docker-compose.yml
index 6c461b6..13faf95 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:v7
+ image: superboum/amd64_postgres:v8
backup-consul:
build:
diff --git a/app/postgres/build/postgres/Dockerfile b/app/postgres/build/postgres/Dockerfile
index e0a39a2..f4b36c1 100644
--- a/app/postgres/build/postgres/Dockerfile
+++ b/app/postgres/build/postgres/Dockerfile
@@ -11,4 +11,5 @@ RUN make && chmod +x /stolon/bin/*
FROM postgres:13.3-buster
COPY --from=builder /stolon/bin /usr/local/bin
-ENTRYPOINT ["/bin/bash"]
+ENTRYPOINT []
+CMD ["/bin/bash"]