CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/test/kubernetes/Dockerfile
Views: 1904
FROM alpine:3.14.2

WORKDIR /kubernetes

RUN apk add --no-cache curl make perl openssl openssh-client

# Ensure Helm is available
RUN curl --output helm.tar.gz https://get.helm.sh/helm-v3.7.1-linux-amd64.tar.gz && \
    (echo "6cd6cad4b97e10c33c978ff3ac97bb42b68f79766f1d2284cfd62ec04cd177f4  helm.tar.gz" | sha256sum -c -) && \
    tar -zxvf helm.tar.gz linux-amd64/helm --strip-components 1 && \
    mv helm /usr/local/bin && \
    rm helm.tar.gz

# Ensure Kubectl is available
RUN curl -LO "https://dl.k8s.io/release/v1.22.2/bin/linux/amd64/kubectl" && \
    (echo "aeca0018958c1cae0bf2f36f566315e52f87bdab38b440df349cd091e9f13f36  kubectl" | sha256sum -c -) && \
    chmod +x ./kubectl && \
    mv kubectl /usr/local/bin