aboutsummaryrefslogtreecommitdiffstats
path: root/pipelines/docker-onap-k8s-toolbox/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'pipelines/docker-onap-k8s-toolbox/Dockerfile')
-rw-r--r--pipelines/docker-onap-k8s-toolbox/Dockerfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/pipelines/docker-onap-k8s-toolbox/Dockerfile b/pipelines/docker-onap-k8s-toolbox/Dockerfile
new file mode 100644
index 000000000..a8ccc238c
--- /dev/null
+++ b/pipelines/docker-onap-k8s-toolbox/Dockerfile
@@ -0,0 +1,20 @@
+FROM alpine:latest
+
+ARG KUBECTL_VERSION="v1.28.4"
+ARG KUBECTL_URL="https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl"
+
+ARG HELM_VERSION="v3.10.3"
+ARG HELM_ARCHIVE="helm-${HELM_VERSION}-linux-amd64.tar.gz"
+ARG HELM_URL="https://get.helm.sh/${HELM_ARCHIVE}"
+
+WORKDIR /root
+
+RUN apk add --no-cache curl \
+ && curl -L $KUBECTL_URL -o /usr/local/bin/kubectl \
+ && chmod +x /usr/local/bin/kubectl \
+ && curl -L $HELM_URL -o $HELM_ARCHIVE \
+ && tar -zxf ${HELM_ARCHIVE} \
+ && mv linux-amd64/helm /usr/local/bin/helm \
+ && rm -rf linux-amd64 $HELM_ARCHIVE
+
+CMD ["/bin/sh"] \ No newline at end of file