forked from Deuxfleurs/infrastructure
Postgres can not be run as root
This commit is contained in:
parent
e97496e09d
commit
2b39a896a7
2 changed files with 2 additions and 1 deletions
|
@ -98,7 +98,7 @@ services:
|
|||
# https://github.com/sorintlab/stolon/releases
|
||||
STOLON_VERSION: 057389f7e484ee1d5c1e1a7020256020e7413c87
|
||||
context: ./postgres/build/postgres
|
||||
image: superboum/amd64_postgres:v8
|
||||
image: superboum/amd64_postgres:v9
|
||||
|
||||
backup-consul:
|
||||
build:
|
||||
|
|
|
@ -11,5 +11,6 @@ RUN make && chmod +x /stolon/bin/*
|
|||
|
||||
FROM postgres:13.3-buster
|
||||
COPY --from=builder /stolon/bin /usr/local/bin
|
||||
USER postgres
|
||||
ENTRYPOINT []
|
||||
CMD ["/bin/bash"]
|
||||
|
|
Loading…
Reference in a new issue