6.2.1-debian-10-r26 release

This commit is contained in:
Bitnami Bot 2021-03-29 17:51:21 +00:00
parent f31f4f6638
commit 611e14d323
4 changed files with 8 additions and 8 deletions

View File

@ -19,7 +19,7 @@ RUN ln -s /opt/bitnami/scripts/redis/run.sh /run.sh
COPY rootfs /
RUN /opt/bitnami/scripts/redis/postunpack.sh
ENV BITNAMI_APP_NAME="redis" \
BITNAMI_IMAGE_VERSION="6.2.1-debian-10-r25" \
BITNAMI_IMAGE_VERSION="6.2.1-debian-10-r26" \
PATH="/opt/bitnami/common/bin:/opt/bitnami/redis/bin:$PATH"
EXPOSE 6379

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 @@ Non-root container images add an extra layer of security and are generally recom
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/).
* [`6.2`, `6.2-debian-10`, `6.2.1`, `6.2.1-debian-10-r25`, `latest` (6.2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-redis/blob/6.2.1-debian-10-r25/6.2/debian-10/Dockerfile)
* [`6.2`, `6.2-debian-10`, `6.2.1`, `6.2.1-debian-10-r26`, `latest` (6.2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-redis/blob/6.2.1-debian-10-r26/6.2/debian-10/Dockerfile)
* [`6.0`, `6.0-debian-10`, `6.0.12`, `6.0.12-debian-10-r26` (6.0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-redis/blob/6.0.12-debian-10-r26/6.0/debian-10/Dockerfile)
* [`5.0`, `5.0-debian-10`, `5.0.12`, `5.0.12-debian-10-r26` (5.0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-redis/blob/5.0.12-debian-10-r26/5.0/debian-10/Dockerfile)