Basic tools for kubernetes deployment & validation purposes.
9.7K
SHELL is bash.
FROM alpine:3.17
WORKDIR /tmp
ARG HELM_VERSION=v4.1.1
ARG KUBECTL_VERSION=v1.33.1
ARG DOCTL_VERSION=1.94.0
ARG KUBE_CONFORM_VERSION=v0.7.0
ARG AWS_IAM_AUTHENTICATOR_VERSION=0.5.9
RUN apk add --no-cache \
curl \
ca-certificates
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl && \
curl -LO https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz && \
curl -LO https://github.com/digitalocean/doctl/releases/download/v${DOCTL_VERSION}/doctl-${DOCTL_VERSION}-linux-amd64.tar.gz && \
curl -LO https://github.com/yannh/kubeconform/releases/download/${KUBE_CONFORM_VERSION}/kubeconform-linux-amd64.tar.gz && \
curl -Lo aws-iam-authenticator https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/download/v${AWS_IAM_AUTHENTICATOR_VERSION}/aws-iam-authenticator_${AWS_IAM_AUTHENTICATOR_VERSION}_linux_amd64 && \
tar -xvf kubeconform-linux-amd64.tar.gz && \
tar -xvf helm-${HELM_VERSION}-linux-amd64.tar.gz && \
tar -xvf doctl-${DOCTL_VERSION}-linux-amd64.tar.gz
FROM alpine:3.17
ENV LC_ALL=en_US.UTF-8
RUN apk add --no-cache \
curl \
bash \
jq \
yq \
gettext \
ca-certificates \
openssl \
aws-cli \
git \
make \
bats
SHELL [ "/bin/bash", "-c" ]
COPY --from=0 /tmp/linux-amd64/helm /usr/local/bin/helm
COPY --from=0 /tmp/doctl /usr/local/bin/doctl
COPY --from=0 /tmp/aws-iam-authenticator /usr/local/bin/aws-iam-authenticator
COPY --from=0 --chmod=0700 /tmp/kubectl /usr/local/bin/kubectl
COPY --from=0 /tmp/kubeconform /usr/local/bin/kubeconform
ENTRYPOINT [ "/bin/bash" ]
Content type
Image
Digest
sha256:b30fd58bd…
Size
98.7 MB
Last updated
7 months ago
docker pull crusaderx2/utils