Sign inSign up

checkmarx/devops-gitlab-runner

By checkmarx

Updated over 6 years ago

Image
1

9.4K

checkmarx/devops-gitlab-runner repository overview

FROM hashicorp/terraform:light

ARG VERSION

ENV BASE_URL="https://get.helm.sh"

ENV TAR_FILE="helm-v${VERSION}-linux-amd64.tar.gz"

RUN apk add --update curl
&& apk add --no-cache bash
&& apk add --no-cache python3 && ln -sf python3 /usr/bin/python && python3 -m ensurepip && rm -r /usr/lib/python*/ensurepip && pip3 install --no-cache --upgrade pip setuptools wheel
&& pip install awscli
&& curl -o kubectl https://amazon-eks.s3-us-west-2.amazonaws.com/1.13.7/2019-06-11/bin/linux/amd64/kubectl
&& install kubectl /usr/local/bin/ && rm kubectl
&& curl -o aws-iam-authenticator https://amazon-eks.s3-us-west-2.amazonaws.com/1.13.7/2019-06-11/bin/linux/amd64/aws-iam-authenticator
&& install aws-iam-authenticator /usr/local/bin/ && rm aws-iam-authenticator
&& apk add --update --no-cache curl ca-certificates
&& curl -L ${BASE_URL}/${TAR_FILE} |tar xvz
&& mv linux-amd64/helm /usr/bin/helm
&& chmod +x /usr/bin/helm
&& rm -rf linux-amd64
&& apk add jq
&& rm -f /var/cache/apk/*

variable "VERSION" must be passed as docker environment variables during the image build
Image is tagged in the format: t-[terraform_version]-h-[helm_version]
Example: docker build --no-cache --build-arg VERSION=3.0.3 -t checkmarx/devops-gitlab-runner:t-light-h-3.0.3 .

Tag summary

Content type

Image

Digest

Size

96.7 MB

Last updated

over 6 years ago

docker pull checkmarx/devops-gitlab-runner:t-light-h-3.0.3v2