mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Charts build image: Add 'vcluster' binary
This commit is contained in:
parent
83fdaf7762
commit
1e60f1ba10
1 changed files with 8 additions and 0 deletions
|
|
@ -9,6 +9,9 @@ ENV HELM_HOME=/root/.helm
|
||||||
ENV KUBECTL_VERSION=1.20.15
|
ENV KUBECTL_VERSION=1.20.15
|
||||||
ENV KUBECTL_URL=https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl
|
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
|
# Install dependencies
|
||||||
RUN apk --no-cache add -U openssl curl tar gzip bash ca-certificates git python3 py3-pip groff\
|
RUN apk --no-cache add -U openssl curl tar gzip bash ca-certificates git python3 py3-pip groff\
|
||||||
&& mkdir -p /opt
|
&& mkdir -p /opt
|
||||||
|
|
@ -35,3 +38,8 @@ RUN mkdir -p $HELM_HOME/plugins && \
|
||||||
|
|
||||||
# Install aws cli
|
# Install aws cli
|
||||||
RUN pip3 install awscli
|
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