mirror of
https://github.com/bitnami/containers.git
synced 2026-03-06 06:58:01 +08:00
[bitnami/kubectl] Release 1.25.2-debian-11-r5 (#9266)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Signed-off-by: Fran Mulero <fmulero@vmware.com> Co-authored-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
@@ -4,7 +4,7 @@ ARG TARGETARCH
|
||||
|
||||
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
|
||||
org.opencontainers.image.description="Application packaged by Bitnami" \
|
||||
org.opencontainers.image.ref.name="1.25.2-debian-11-r4" \
|
||||
org.opencontainers.image.ref.name="1.25.2-debian-11-r5" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/kubectl" \
|
||||
org.opencontainers.image.title="kubectl" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
@@ -20,13 +20,18 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages ca-certificates curl git jq procps
|
||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
||||
if [ ! -f kubectl-1.25.2-0-linux-${OS_ARCH}-debian-11.tar.gz ]; then \
|
||||
curl -SsLf https://downloads.bitnami.com/files/stacksmith/kubectl-1.25.2-0-linux-${OS_ARCH}-debian-11.tar.gz -O ; \
|
||||
curl -SsLf https://downloads.bitnami.com/files/stacksmith/kubectl-1.25.2-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \
|
||||
fi && \
|
||||
sha256sum -c kubectl-1.25.2-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \
|
||||
tar -zxf kubectl-1.25.2-0-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \
|
||||
rm -rf kubectl-1.25.2-0-linux-${OS_ARCH}-debian-11.tar.gz kubectl-1.25.2-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256
|
||||
COMPONENTS=( \
|
||||
"kubectl-1.25.2-1-linux-${OS_ARCH}-debian-11" \
|
||||
) && \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
||||
curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz" -O ; \
|
||||
curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz.sha256" -O ; \
|
||||
fi && \
|
||||
sha256sum -c "${COMPONENT}.tar.gz.sha256" && \
|
||||
tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \
|
||||
rm -rf "${COMPONENT}.tar.gz{,sha256}" ; \
|
||||
done
|
||||
RUN apt-get autoremove --purge -y curl && \
|
||||
apt-get update && apt-get upgrade -y && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"kubectl": {
|
||||
"arch": "amd64",
|
||||
"digest": "8eb1a092369941f81c2bac01a1e249f5ae1b0c799858cc338fa1fde98c298f0b",
|
||||
"digest": "33beb4a9556e9cd9df9867f2a5065a3aecd0456a3a4bac3fa28f925264f27083",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "1.25.2-0"
|
||||
"version": "1.25.2-1"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user