From 28f7f8a622e075e2b8777c6207fa63c5cebd3f79 Mon Sep 17 00:00:00 2001 From: sycured <60801403+sycured@users.noreply.github.com> Date: Wed, 26 Oct 2022 16:33:58 -0500 Subject: [PATCH] remove postgress from root group: https://github.com/hashicorp/nomad/pull/13755 --- Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4ad00c3..748ed42 100644 --- a/Dockerfile +++ b/Dockerfile @@ -69,11 +69,7 @@ RUN set -x \ \ # Cleanup && rm -rf /var/lib/apt/lists/* \ - && rm -rf /var/cache/apt/* \ - \ - # Add postgres to root group so it can read a private key for TLS - # See https://github.com/hashicorp/nomad/issues/5020 - && gpasswd -a postgres root + && rm -rf /var/cache/apt/* RUN mkdir -p /docker-entrypoint-initdb.d COPY ./files/000_shared_libs.sh /docker-entrypoint-initdb.d/000_shared_libs.sh