Delete 1.21 directory

This commit is contained in:
Carlos Rodríguez Hernández 2022-06-20 11:28:27 +02:00 committed by Bitnami Containers
parent 5369d901c4
commit f385f0ede6
10 changed files with 0 additions and 134 deletions

View File

@ -1,27 +0,0 @@
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 git gzip jq procps tar wget
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/kubectl-1.21.13-0-linux-amd64-debian-10.tar.gz && \
echo "ddc393e492486d7c31e43b2775c89eaf3046de337dad7fe0c50bbb00287458a8 /tmp/bitnami/pkg/cache/kubectl-1.21.13-0-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/kubectl-1.21.13-0-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/kubectl-1.21.13-0-linux-amd64-debian-10.tar.gz
RUN apt-get update && apt-get upgrade -y && \
rm -r /var/lib/apt/lists /var/cache/apt/archives
RUN chmod g+rwX /opt/bitnami
RUN mkdir /.kube && chmod g+rwX /.kube
ENV APP_VERSION="1.21.13" \
BITNAMI_APP_NAME="kubectl" \
PATH="/opt/bitnami/kubectl/bin:$PATH"
USER 1001
ENTRYPOINT [ "kubectl" ]
CMD [ "--help" ]

View File

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

View File

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

View File

@ -1,3 +0,0 @@
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

@ -1,24 +0,0 @@
#!/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

@ -1,27 +0,0 @@
FROM docker.io/bitnami/minideb:bullseye
LABEL maintainer "Bitnami <containers@bitnami.com>"
ENV HOME="/" \
OS_ARCH="amd64" \
OS_FLAVOUR="debian-11" \
OS_NAME="linux"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages ca-certificates curl git gzip jq procps tar wget
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/kubectl-1.21.14-0-linux-amd64-debian-11.tar.gz && \
echo "b3cd5e309a5ece7665bf8c77a57f8c9b6b70c353ddf9670aaf75e84362e953a5 /tmp/bitnami/pkg/cache/kubectl-1.21.14-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/kubectl-1.21.14-0-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/kubectl-1.21.14-0-linux-amd64-debian-11.tar.gz
RUN apt-get update && apt-get upgrade -y && \
rm -r /var/lib/apt/lists /var/cache/apt/archives
RUN chmod g+rwX /opt/bitnami
RUN mkdir /.kube && chmod g+rwX /.kube
ENV APP_VERSION="1.21.14" \
BITNAMI_APP_NAME="kubectl" \
PATH="/opt/bitnami/kubectl/bin:$PATH"
USER 1001
ENTRYPOINT [ "kubectl" ]
CMD [ "--help" ]

View File

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

View File

@ -1,9 +0,0 @@
{
"kubectl": {
"arch": "amd64",
"digest": "b3cd5e309a5ece7665bf8c77a57f8c9b6b70c353ddf9670aaf75e84362e953a5",
"distro": "debian-11",
"type": "NAMI",
"version": "1.21.14-0"
}
}

View File

@ -1,3 +0,0 @@
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

@ -1,24 +0,0 @@
#!/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