Gitlab operator build image: Add 'vcluster' binary

This commit is contained in:
Jon Doveston 2023-11-06 18:32:47 +00:00
parent d9aec652c5
commit 5a51a4a0dd
No known key found for this signature in database
GPG key ID: A0D9A12B6E262AE0

View file

@ -49,6 +49,7 @@ ARG YQ_VERSION=4.7.0
ARG HELM_VERSION=3.5.2
ARG OPERATORSDK_VERSION=1.32.0
ARG TASK_VERSION=3.12.1
ENV VCLUSTER_VERSION=0.16.3
# ARG OPM_VERSION=1.19.0
RUN apk add --no-cache podman buildah curl make gcc musl-dev git bash coreutils
@ -84,6 +85,11 @@ RUN curl --retry 6 -Ls "https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.ta
# Opm
COPY --from=opm /src/operator-registry/bin/opm /usr/local/bin/opm
# vcluster
RUN curl -L -o /usr/local/bin/vcluster \
https://github.com/loft-sh/vcluster/releases/download/v${VCLUSTER_VERSION}/vcluster-linux-amd64 \
&& chmod +x /usr/local/bin/vcluster
# Operator-SDK
RUN curl -o /usr/local/bin/operator-sdk_linux_amd64 -L \
https://github.com/operator-framework/operator-sdk/releases/download/v${OPERATORSDK_VERSION}/operator-sdk_linux_amd64 \