atlassian/pipelines-kubectl

Verified Publisher

By Atlassian

Updated over 1 year ago

Bitbucket Pipelines Kubectl docker image

Image
Integration & Delivery
Monitoring & Observability
Security
5

500K+

Dockerfile

FROM alpine:3.16
LABEL maintainer="Bitbucket Pipelines <pipelines-feedback@atlassian.com>"

ARG VERSION
ENV KUBE_VERSION=$VERSION

RUN apk add --update --no-cache ca-certificates bash \
 && apk add --update --no-cache -t deps curl \
 && curl -L https://dl.k8s.io/release/v${KUBE_VERSION}/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl \
 && chmod +x /usr/local/bin/kubectl \
 && apk del --purge deps 

WORKDIR /root
ENTRYPOINT ["kubectl"]
CMD ["help"]

Docker Pull Command

docker pull atlassian/pipelines-kubectl