mirror of
https://github.com/bitnami/containers.git
synced 2026-02-28 15:37:26 +08:00
committed by
GitHub
parent
d62b697382
commit
18ff1f1ecf
@@ -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 gzip jq procps tar wget
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/kubectl-1.20.15-6-linux-amd64-debian-10.tar.gz && \
|
||||
echo "92b784ec56639bfb81a329034e72be588a957f32b2dc8d91a171078503ffe2c3 /tmp/bitnami/pkg/cache/kubectl-1.20.15-6-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/kubectl-1.20.15-6-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/kubectl-1.20.15-6-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 BITNAMI_APP_NAME="kubectl" \
|
||||
BITNAMI_IMAGE_VERSION="1.20.15-debian-10-r59" \
|
||||
PATH="/opt/bitnami/kubectl/bin:$PATH"
|
||||
|
||||
USER 1001
|
||||
ENTRYPOINT [ "kubectl" ]
|
||||
CMD [ "--help" ]
|
||||
@@ -1,4 +0,0 @@
|
||||
version: '2'
|
||||
services:
|
||||
kubectl:
|
||||
image: docker.io/bitnami/kubectl:1.20
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"kubectl": {
|
||||
"arch": "amd64",
|
||||
"digest": "92b784ec56639bfb81a329034e72be588a957f32b2dc8d91a171078503ffe2c3",
|
||||
"distro": "debian-10",
|
||||
"type": "NAMI",
|
||||
"version": "1.20.15-6"
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -34,7 +34,6 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
|
||||
* [`1.23`, `1.23-debian-10`, `1.23.5`, `1.23.5-debian-10-r1`, `latest` (1.23/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-kubectl/blob/1.23.5-debian-10-r1/1.23/debian-10/Dockerfile)
|
||||
* [`1.22`, `1.22-debian-10`, `1.22.8`, `1.22.8-debian-10-r1` (1.22/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-kubectl/blob/1.22.8-debian-10-r1/1.22/debian-10/Dockerfile)
|
||||
* [`1.21`, `1.21-debian-10`, `1.21.11`, `1.21.11-debian-10-r1` (1.21/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-kubectl/blob/1.21.11-debian-10-r1/1.21/debian-10/Dockerfile)
|
||||
* [`1.20`, `1.20-debian-10`, `1.20.15`, `1.20.15-debian-10-r59` (1.20/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-kubectl/blob/1.20.15-debian-10-r59/1.20/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/kubectl GitHub repo](https://github.com/bitnami/bitnami-docker-kubectl).
|
||||
|
||||
@@ -78,10 +77,6 @@ It's possible to load your own configuration, which is useful if you want to con
|
||||
$ docker run --rm --name kubectl -v /path/to/your/kube/config:/.kube/config bitnami/kubectl:latest
|
||||
```
|
||||
|
||||
## Branch Deprecation Notice
|
||||
|
||||
Kubectl's branch 1.20 is no longer maintained by upstream and is now internally tagged as to be deprecated. This branch will no longer be released in our catalog a month after this notice is published, but already released container images will still persist in the registries. Valid to be removed starting on: 03-21-2022
|
||||
|
||||
## Contributing
|
||||
|
||||
We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/bitnami-docker-kubectl/issues), or submit a [pull request](https://github.com/bitnami/bitnami-docker-kubectl/pulls) with your contribution.
|
||||
|
||||
Reference in New Issue
Block a user