Skip to content
This repository was archived by the owner on Dec 10, 2023. It is now read-only.

Commit 28f7f8a

Browse files
committed
remove postgress from root group: hashicorp/nomad#13755
1 parent cc0fb49 commit 28f7f8a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Dockerfile

+1-5
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,7 @@ RUN set -x \
6969
\
7070
# Cleanup
7171
&& rm -rf /var/lib/apt/lists/* \
72-
&& rm -rf /var/cache/apt/* \
73-
\
74-
# Add postgres to root group so it can read a private key for TLS
75-
# See https://github.com/hashicorp/nomad/issues/5020
76-
&& gpasswd -a postgres root
72+
&& rm -rf /var/cache/apt/*
7773

7874
RUN mkdir -p /docker-entrypoint-initdb.d
7975
COPY ./files/000_shared_libs.sh /docker-entrypoint-initdb.d/000_shared_libs.sh

0 commit comments

Comments
 (0)