mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Bump Ruby image to 3.1 and Helm version to 3.9.4
This commit is contained in:
parent
2a12d51d94
commit
3dc943f331
2 changed files with 3 additions and 3 deletions
45
Dockerfile.gitlab-charts-build-base-helm-3.9
Normal file
45
Dockerfile.gitlab-charts-build-base-helm-3.9
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
FROM ruby:3.1-alpine
|
||||
MAINTAINER GitLab Distribution Team
|
||||
|
||||
ENV HELM_VERSION=3.9.4
|
||||
ENV HELM_URL=https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz
|
||||
ENV HELM_HOME=/root/.helm
|
||||
|
||||
# kubectl (possibly in gcloud?)
|
||||
ENV KUBECTL_VERSION=1.26.7
|
||||
ENV KUBECTL_URL=https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl
|
||||
|
||||
ENV VCLUSTER_VERSION=0.16.3
|
||||
ENV VCLUSTER_URL=https://github.com/loft-sh/vcluster/releases/download/v${VCLUSTER_VERSION}/vcluster-linux-amd64
|
||||
|
||||
# Install dependencies
|
||||
RUN apk --no-cache add -U openssl curl tar gzip bash ca-certificates git python3 py3-pip groff\
|
||||
&& mkdir -p /opt
|
||||
|
||||
# Install kubectl
|
||||
RUN curl -L -o /usr/local/bin/kubectl ${KUBECTL_URL} \
|
||||
&& chmod +x /usr/local/bin/kubectl \
|
||||
&& kubectl version --client
|
||||
|
||||
# Install Helm
|
||||
RUN wget -q -O - ${HELM_URL} | tar zxf - \
|
||||
&& mv linux-amd64/helm /usr/bin/ \
|
||||
&& chmod +x /usr/bin/helm \
|
||||
&& helm version --client
|
||||
|
||||
# Install kubeval
|
||||
RUN mkdir -p $HELM_HOME/plugins && \
|
||||
helm plugin install https://github.com/instrumenta/helm-kubeval
|
||||
|
||||
# Install kubeconform
|
||||
ENV KUBECONFORM_HELM_VERSION=0.1.16
|
||||
RUN mkdir -p $HELM_HOME/plugins && \
|
||||
helm plugin install https://github.com/jtyr/kubeconform-helm --version ${KUBECONFORM_HELM_VERSION}
|
||||
|
||||
# Install aws cli
|
||||
RUN pip3 install awscli
|
||||
|
||||
# Install vcluster
|
||||
RUN curl -L -o /usr/local/bin/vcluster ${VCLUSTER_URL} \
|
||||
&& chmod +x /usr/local/bin/vcluster \
|
||||
&& vcluster version
|
||||
Loading…
Add table
Add a link
Reference in a new issue