11.11.0-debian-10-r49 release

This commit is contained in:
Bitnami Bot 2021-03-29 16:24:45 +00:00
parent 3200c0ab5b
commit 3c88661899
4 changed files with 8 additions and 8 deletions

View File

@ -22,7 +22,7 @@ COPY rootfs /
RUN /opt/bitnami/scripts/postgresql/postunpack.sh
RUN /opt/bitnami/scripts/locales/add-extra-locales.sh
ENV BITNAMI_APP_NAME="postgresql" \
BITNAMI_IMAGE_VERSION="11.11.0-debian-10-r48" \
BITNAMI_IMAGE_VERSION="11.11.0-debian-10-r49" \
LANG="en_US.UTF-8" \
LANGUAGE="en_US:en" \
NSS_WRAPPER_LIB="/opt/bitnami/common/lib/libnss_wrapper.so" \

View File

@ -106,9 +106,9 @@ is_file_writable() {
relativize() {
local -r path="${1:?missing path}"
local -r base="${2:?missing base}"
pushd "$base" >/dev/null
pushd "$base" >/dev/null || exit
realpath -q --no-symlinks --relative-base="$base" "$path" | sed -e 's|^/$|.|' -e 's|^/||'
popd >/dev/null
popd >/dev/null || exit
}
########################

View File

@ -35,7 +35,7 @@ persist_app() {
warn "No files are configured to be persisted"
return
fi
pushd "$install_dir" >/dev/null
pushd "$install_dir" >/dev/null || exit
local file_to_persist_relative file_to_persist_destination file_to_persist_destination_folder
local -r tmp_file="/tmp/perms.acl"
for file_to_persist in "${files_to_persist[@]}"; do
@ -53,16 +53,16 @@ persist_app() {
ensure_dir_exists "$file_to_persist_destination_folder"
cp -Lr --preserve=links "$file_to_persist_relative" "$file_to_persist_destination_folder"
# Restore permissions
pushd "$persist_dir" >/dev/null
pushd "$persist_dir" >/dev/null || exit
if am_i_root; then
setfacl --restore="$tmp_file"
else
# When running as non-root, don't change ownership
setfacl --restore=<(grep -E -v '^# (owner|group):' "$tmp_file")
fi
popd >/dev/null
popd >/dev/null || exit
done
popd >/dev/null
popd >/dev/null || exit
rm -f "$tmp_file"
# Install the persisted files into the installation directory, via symlinks
restore_persisted_app "$@"

View File

@ -46,7 +46,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
* [`13`, `13-debian-10`, `13.2.0`, `13.2.0-debian-10-r47` (13/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/13.2.0-debian-10-r47/13/debian-10/Dockerfile)
* [`12`, `12-debian-10`, `12.6.0`, `12.6.0-debian-10-r47` (12/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/12.6.0-debian-10-r47/12/debian-10/Dockerfile)
* [`11`, `11-debian-10`, `11.11.0`, `11.11.0-debian-10-r48`, `latest` (11/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/11.11.0-debian-10-r48/11/debian-10/Dockerfile)
* [`11`, `11-debian-10`, `11.11.0`, `11.11.0-debian-10-r49`, `latest` (11/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/11.11.0-debian-10-r49/11/debian-10/Dockerfile)
* [`10`, `10-debian-10`, `10.16.0`, `10.16.0-debian-10-r47` (10/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/10.16.0-debian-10-r47/10/debian-10/Dockerfile)
* [`9.6`, `9.6-debian-10`, `9.6.21`, `9.6.21-debian-10-r48` (9.6/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/9.6.21-debian-10-r48/9.6/debian-10/Dockerfile)