Some checks failed
Build and push k8s-workflow-image / build (push) Failing after 6s
15 lines
463 B
Docker
15 lines
463 B
Docker
FROM alpine:3.19
|
|
|
|
RUN apk add --no-cache curl bash ca-certificates
|
|
|
|
# Install kubectl
|
|
RUN KUBECTL_VERSION=$(curl -s https://dl.k8s.io/release/stable.txt) && \
|
|
curl -LO https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl && \
|
|
install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl && \
|
|
rm kubectl
|
|
|
|
# Install Helm
|
|
RUN curl -fsSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
|
|
|
|
ENTRYPOINT ["/bin/sh"]
|