mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Merge branch 'add-vcluster-to-operator-build-base' into 'master'
Gitlab operator build image: Add 'vcluster' binary See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/744 Merged-by: Stan Hu <stanhu@gmail.com> Approved-by: Stan Hu <stanhu@gmail.com> Co-authored-by: Jon Doveston <jdoveston@gitlab.com>
This commit is contained in:
commit
522f17e89c
1 changed files with 6 additions and 0 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue