add alternative binary name for operator-sdk

This commit is contained in:
Dmitry Makovey 2021-10-29 12:12:54 -06:00
parent 7e13271dfc
commit c825572faf

View file

@ -84,9 +84,9 @@ RUN curl --retry 6 -Ls "https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.ta
COPY --from=opm /src/operator-registry/bin/opm /usr/local/bin/opm
# Operator-SDK
RUN curl -o /usr/local/bin/operator-sdk -L \
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 \
; chmod +x /usr/local/bin/operator-sdk
; chmod +x /usr/local/bin/operator-sdk_linux_amd64 ; ln -s /usr/local/bin/operator-sdk_linux_amd64 /usr/local/bin/operator-sdk
# Kustomize
COPY --from=kustomize /go/bin/kustomize /usr/local/bin/kustomize