mirror of
https://github.com/bitnami/containers.git
synced 2026-10-17 12:51:40 +02:00
[bitnami/plugin-barman-cloud-sidecar] Release 0.13.0-debian-12-r0 (#94778)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -7,13 +7,13 @@ ARG DOWNLOADS_URL="https://downloads.bitnami.com/files/stacksmith"
|
||||
ARG TARGETARCH
|
||||
|
||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
||||
org.opencontainers.image.created="2026-06-11T03:59:07Z" \
|
||||
org.opencontainers.image.created="2026-06-12T15:50:45Z" \
|
||||
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
||||
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/plugin-barman-cloud-sidecar/README.md" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/plugin-barman-cloud-sidecar" \
|
||||
org.opencontainers.image.title="plugin-barman-cloud-sidecar" \
|
||||
org.opencontainers.image.vendor="Broadcom, Inc." \
|
||||
org.opencontainers.image.version="0.12.0"
|
||||
org.opencontainers.image.version="0.13.0"
|
||||
|
||||
ENV HOME="/" \
|
||||
OS_ARCH="${TARGETARCH:-amd64}" \
|
||||
@@ -28,8 +28,8 @@ RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \
|
||||
DOWNLOADS_URL=${SECRET_DOWNLOADS_URL:-${DOWNLOADS_URL}} ; \
|
||||
mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
|
||||
COMPONENTS=( \
|
||||
"plugin-barman-cloud-sidecar-0.12.0-0-linux-${OS_ARCH}-debian-12" \
|
||||
"plugin-barman-cloud-0.12.0-2-linux-${OS_ARCH}-debian-12" \
|
||||
"plugin-barman-cloud-sidecar-0.13.0-0-linux-${OS_ARCH}-debian-12" \
|
||||
"plugin-barman-cloud-0.13.0-0-linux-${OS_ARCH}-debian-12" \
|
||||
"python-3.13.13-10-linux-${OS_ARCH}-debian-12" \
|
||||
"postgresql-lib-18.4.0-0-linux-${OS_ARCH}-debian-12" \
|
||||
) ; \
|
||||
@@ -49,9 +49,9 @@ RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
|
||||
RUN ln -sf /opt/bitnami/plugin-barman-cloud/bin/manager /manager
|
||||
RUN uninstall_packages curl
|
||||
|
||||
ENV APP_VERSION="0.12.0" \
|
||||
ENV APP_VERSION="0.13.0" \
|
||||
BITNAMI_APP_NAME="plugin-barman-cloud-sidecar" \
|
||||
IMAGE_REVISION="5" \
|
||||
IMAGE_REVISION="0" \
|
||||
LD_LIBRARY_PATH="/opt/bitnami/postgresql/lib" \
|
||||
PATH="/opt/bitnami/plugin-barman-cloud/bin:/opt/bitnami/python/bin:$PATH"
|
||||
|
||||
|
||||
-1
@@ -1 +0,0 @@
|
||||
ef96a62cdd0b52e10273a8fad008889faaf5c4368db4707704d3911dd0ceab66 plugin-barman-cloud-0.12.0-2-linux-amd64-debian-12.tar.gz
|
||||
-1
@@ -1 +0,0 @@
|
||||
e7a9cd66a696af76ca6531430405085f53d2c7f66e65c870aa79289606f60d26 plugin-barman-cloud-0.12.0-2-linux-arm64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
4526e8057a7d9873657f5cc15aa1c9a671aa18bff71a63fc90a31e181d616845 plugin-barman-cloud-0.13.0-0-linux-amd64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
1b7443b293165b8513723ce17fa52188dcb3962262fe6f74a2409508841d69c6 plugin-barman-cloud-0.13.0-0-linux-arm64-debian-12.tar.gz
|
||||
-1
@@ -1 +0,0 @@
|
||||
d3c2b99e7e5c56af75fae23a10506e780300a1e9868e34f225420f5700cf1ec8 plugin-barman-cloud-sidecar-0.12.0-0-linux-amd64-debian-12.tar.gz
|
||||
-1
@@ -1 +0,0 @@
|
||||
b3b0c156eefe6b2da1cf717e446f1b0c2d6dc1775e8f31ce5027f056fb827773 plugin-barman-cloud-sidecar-0.12.0-0-linux-arm64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
7507822af49cd23fba78adbdbe312e68a8a1f557ebd7c0e36847bd8def0fe1f2 plugin-barman-cloud-sidecar-0.13.0-0-linux-amd64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
cf735032f385470f543c795c2e30d8ced0b50ec0cf5c0906ea12081c90df27b2 plugin-barman-cloud-sidecar-0.13.0-0-linux-arm64-debian-12.tar.gz
|
||||
+5
-5
@@ -39,7 +39,7 @@ persist_app() {
|
||||
fi
|
||||
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"
|
||||
local -r acl_file="$(mktemp "${TMPDIR:-/tmp}"/acl.XXXXXXXXXX)"
|
||||
for file_to_persist in "${files_to_persist[@]}"; do
|
||||
if [[ ! -f "$file_to_persist" && ! -d "$file_to_persist" ]]; then
|
||||
error "Cannot persist '${file_to_persist}' because it does not exist"
|
||||
@@ -50,22 +50,22 @@ persist_app() {
|
||||
file_to_persist_destination_folder="$(dirname "$file_to_persist_destination")"
|
||||
# Get original permissions for existing files, which will be applied later
|
||||
# Exclude the root directory with 'sed', to avoid issues when copying the entirety of it to a volume
|
||||
getfacl -R "$file_to_persist_relative" | sed -E '/# file: (\..+|[^.])/,$!d' > "$tmp_file"
|
||||
getfacl -R "$file_to_persist_relative" | sed -E '/# file: (\..+|[^.])/,$!d' > "$acl_file"
|
||||
# Copy directories to the volume
|
||||
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 || exit
|
||||
if am_i_root; then
|
||||
setfacl --restore="$tmp_file"
|
||||
setfacl --restore="$acl_file"
|
||||
else
|
||||
# When running as non-root, don't change ownership
|
||||
setfacl --restore=<(grep -E -v '^# (owner|group):' "$tmp_file")
|
||||
setfacl --restore=<(grep -E -v '^# (owner|group):' "$acl_file")
|
||||
fi
|
||||
popd >/dev/null || exit
|
||||
done
|
||||
popd >/dev/null || exit
|
||||
rm -f "$tmp_file"
|
||||
rm -f "$acl_file"
|
||||
# Install the persisted files into the installation directory, via symlinks
|
||||
restore_persisted_app "$@"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user