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

Commit

Permalink
remove postgress from root group: hashicorp/nomad#13755
Browse files Browse the repository at this point in the history
  • Loading branch information
sycured committed Oct 26, 2022
1 parent cc0fb49 commit 28f7f8a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 28f7f8a

Please sign in to comment.