1.21.0-debian-10-r0 release

This commit is contained in:
Bitnami Bot
2021-04-15 12:20:33 +00:00
parent 6bc7cae3cd
commit 631b680245
6 changed files with 65 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
FROM docker.io/bitnami/minideb:buster
LABEL maintainer "Bitnami <containers@bitnami.com>"
ENV HOME="/" \
OS_ARCH="amd64" \
OS_FLAVOUR="debian-10" \
OS_NAME="linux"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages ca-certificates curl gzip jq procps tar wget
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/kubectl-1.21.0-0-linux-amd64-debian-10.tar.gz && \
echo "a5f6edee49132814f0b6e857608fdc3172eebc32c53afc4351caa5f910a67763 /tmp/bitnami/pkg/cache/kubectl-1.21.0-0-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/kubectl-1.21.0-0-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/kubectl-1.21.0-0-linux-amd64-debian-10.tar.gz
RUN chmod g+rwX /opt/bitnami
ENV BITNAMI_APP_NAME="kubectl" \
BITNAMI_IMAGE_VERSION="1.21.0-debian-10-r0" \
PATH="/opt/bitnami/kubectl/bin:$PATH"
USER 1001
ENTRYPOINT [ "kubectl" ]
CMD [ "--help" ]

View File

@@ -0,0 +1,4 @@
version: '2'
services:
kubectl:
image: docker.io/bitnami/kubectl:1.21

View File

@@ -0,0 +1,9 @@
{
"kubectl": {
"arch": "amd64",
"digest": "a5f6edee49132814f0b6e857608fdc3172eebc32c53afc4351caa5f910a67763",
"distro": "debian-10",
"type": "NAMI",
"version": "1.21.0-0"
}
}

View File

@@ -0,0 +1,3 @@
Bitnami containers ship with software bundles. You can find the licenses under:
/opt/bitnami/nami/COPYING
/opt/bitnami/[name-of-bundle]/licenses/[bundle-version].txt

View File

@@ -0,0 +1,24 @@
#!/bin/sh
set -e
set -u
export DEBIAN_FRONTEND=noninteractive
n=0
max=2
until [ $n -gt $max ]; do
set +e
(
apt-get update -qq &&
apt-get install -y --no-install-recommends "$@"
)
CODE=$?
set -e
if [ $CODE -eq 0 ]; then
break
fi
if [ $n -eq $max ]; then
exit $CODE
fi
echo "apt failed, retrying"
n=$(($n + 1))
done
rm -r /var/lib/apt/lists /var/cache/apt/archives

View File

@@ -28,6 +28,7 @@ $ docker run --name kubectl bitnami/kubectl:latest
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/).
* [`1.21`, `1.21-debian-10`, `1.21.0`, `1.21.0-debian-10-r0` (1.21/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-kubectl/blob/1.21.0-debian-10-r0/1.21/debian-10/Dockerfile)
* [`1.20`, `1.20-debian-10`, `1.20.5`, `1.20.5-debian-10-r26` (1.20/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-kubectl/blob/1.20.5-debian-10-r26/1.20/debian-10/Dockerfile)
* [`1.19`, `1.19-debian-10`, `1.19.9`, `1.19.9-debian-10-r26` (1.19/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-kubectl/blob/1.19.9-debian-10-r26/1.19/debian-10/Dockerfile)
* [`1.18`, `1.18-debian-10`, `1.18.17`, `1.18.17-debian-10-r26`, `latest` (1.18/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-kubectl/blob/1.18.17-debian-10-r26/1.18/debian-10/Dockerfile)