Merge branch 'charts-add-vcluster' into 'master'

Charts build image: Add 'vcluster' binary

See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/723

Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Clemens Beck <cbeck@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: Mitchell Nielsen <mnielsen@gitlab.com>
This commit is contained in:
Balasankar 'Balu' C 2023-10-19 15:58:21 +00:00
commit ead256b6ce

View file

@ -9,6 +9,9 @@ ENV HELM_HOME=/root/.helm
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
@ -35,3 +38,8 @@ RUN mkdir -p $HELM_HOME/plugins && \
# 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