Skip to content

Commit

Permalink
[bitnami/postgresql] Created seperate config directory to allow for r…
Browse files Browse the repository at this point in the history
…eadonlyrootfilesystem

Signed-off-by: Jon Krehling <jkpublicweb@gmail.com>
  • Loading branch information
Jon Krehling committed Jan 10, 2024
1 parent 466db0b commit 89c3acd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions bitnami/postgresql/16/debian-11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ RUN echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && locale-gen
COPY rootfs /
RUN /opt/bitnami/scripts/postgresql/postunpack.sh
RUN /opt/bitnami/scripts/locales/add-extra-locales.sh
RUN cp -pR /opt/bitnami/postgresql/conf/ /opt/bitnami/postgresql/temp-conf/
ENV APP_VERSION="16.0.0" \
BITNAMI_APP_NAME="postgresql" \
LANG="en_US.UTF-8" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ set -o pipefail
# Load PostgreSQL environment variables
. /opt/bitnami/scripts/postgresql-env.sh

# Move config files from template directory
cp -pR /opt/bitnami/postgresql/temp-conf/* /opt/bitnami/postgresql/conf/

print_welcome_page

# Enable the nss_wrapper settings
Expand Down

0 comments on commit 89c3acd

Please sign in to comment.