mirror of
https://github.com/bitnami/containers.git
synced 2026-10-17 20:15:35 +02:00
[bitnami/kaniko] Release 1.25.16-debian-12-r0 (#94950)
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-10T17:07:47Z" \
|
||||
org.opencontainers.image.created="2026-06-24T17:52:44Z" \
|
||||
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
||||
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/kaniko/README.md" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/kaniko" \
|
||||
org.opencontainers.image.title="kaniko" \
|
||||
org.opencontainers.image.vendor="Broadcom, Inc." \
|
||||
org.opencontainers.image.version="1.25.15"
|
||||
org.opencontainers.image.version="1.25.16"
|
||||
|
||||
ENV HOME="/root" \
|
||||
OS_ARCH="${TARGETARCH:-amd64}" \
|
||||
@@ -28,7 +28,7 @@ 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=( \
|
||||
"kaniko-1.25.15-2-linux-${OS_ARCH}-debian-12" \
|
||||
"kaniko-1.25.16-0-linux-${OS_ARCH}-debian-12" \
|
||||
) ; \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
||||
@@ -44,11 +44,11 @@ RUN apt-get update && apt-get upgrade -y && \
|
||||
RUN uninstall_packages curl
|
||||
|
||||
RUN mkdir -p /kaniko/.docker /etc && for bin in /opt/bitnami/kaniko/bin/*; do ln -s $bin /kaniko/; done && chmod 775 /kaniko && cp /opt/bitnami/kaniko/nsswitch/nsswitch.conf /etc/nsswitch.conf
|
||||
ENV APP_VERSION="1.25.15" \
|
||||
ENV APP_VERSION="1.25.16" \
|
||||
BITNAMI_APP_NAME="kaniko" \
|
||||
DOCKER_CONFIG="/kaniko/.docker" \
|
||||
DOCKER_CREDENTIAL_GCR_CONFIG="/kaniko/.config/gcloud/docker_credential_gcr_config.json" \
|
||||
IMAGE_REVISION="5" \
|
||||
IMAGE_REVISION="0" \
|
||||
PATH="/kaniko:$PATH" \
|
||||
SSL_CERT_DIR="/etc/ssl/certs/" \
|
||||
USER="root"
|
||||
|
||||
-1
@@ -1 +0,0 @@
|
||||
1d9b81a6f9b312e3b6234af9efde3b13498f11adfad9c2ce4680c46a23f86c03 kaniko-1.25.15-2-linux-amd64-debian-12.tar.gz
|
||||
-1
@@ -1 +0,0 @@
|
||||
7852093f3b5a4e8fc41379cd437b68162aeb5ba68a5c127a02bd0b7268c49410 kaniko-1.25.15-2-linux-arm64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
8651c12c1b9c4aea769d28bf59eebb430318787a4b4fd002859a348f609a0cd0 kaniko-1.25.16-0-linux-amd64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
61d2898a4a348a6b5abad8c8091d83e18b8cb1a16d53ced294927d36d90b4044 kaniko-1.25.16-0-linux-arm64-debian-12.tar.gz
|
||||
@@ -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