mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-12 19:42:55 +01:00
properly build opm
This commit is contained in:
parent
4956474bf9
commit
822c09d382
1 changed files with 7 additions and 3 deletions
|
|
@ -58,9 +58,13 @@ RUN curl --retry 6 -Ls "https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.ta
|
|||
&& chmod +x /tmp/linux-amd64/helm \
|
||||
&& mv /tmp/linux-amd64/helm /usr/local/bin/helm
|
||||
|
||||
RUN curl -o /usr/local/bin/opm -L -s \
|
||||
https://github.com/operator-framework/operator-registry/releases/download/v${OPM_VERSION}/linux-amd64-opm \
|
||||
; chmod +x /usr/local/bin/opm
|
||||
RUN mkdir -p .build \
|
||||
&& curl -s -L -o .build/operator-registry-${OPM_VERSION}.tgz https://github.com/operator-framework/operator-registry/archive/refs/tags/v${OPM_VERSION}.tar.gz \
|
||||
&& cd .build \
|
||||
&& tar -xzf operator-registry-${OPM_VERSION}.tgz \
|
||||
&& cd operator-registry-${OPM_VERSION} \
|
||||
&& make bin/opm \
|
||||
cp bin/opm /usr/local/bin/opm
|
||||
|
||||
RUN curl -o /usr/local/bin/operator-sdk -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