diff options
author | Quentin Dufour <quentin@dufour.io> | 2021-07-02 14:45:59 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@dufour.io> | 2021-07-02 14:45:59 +0200 |
commit | 2b39a896a76b02beea23db1e3a4ab323a18a7744 (patch) | |
tree | 46280ea89efb7d0f26479b6081956c1639a19c7a /app/postgres | |
parent | e97496e09d61c1c0c9788e0dfaeea2f2cde7b215 (diff) | |
download | infrastructure-2b39a896a76b02beea23db1e3a4ab323a18a7744.tar.gz infrastructure-2b39a896a76b02beea23db1e3a4ab323a18a7744.zip |
Postgres can not be run as root
Diffstat (limited to 'app/postgres')
-rw-r--r-- | app/postgres/build/postgres/Dockerfile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/postgres/build/postgres/Dockerfile b/app/postgres/build/postgres/Dockerfile index f4b36c1..329d707 100644 --- a/app/postgres/build/postgres/Dockerfile +++ b/app/postgres/build/postgres/Dockerfile @@ -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"] |