We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c092bd commit 874574aCopy full SHA for 874574a
1 file changed
Dockerfile
@@ -78,7 +78,7 @@ WORKDIR ${HOME}
78
79
RUN cat ./image-message >> ./.bashrc-ni
80
81
-RUN curl -L https://mirror.openshift.com/pub/openshift-v4/clients/ocp/stable-${OPENSHIFT_CLI_VERSION}/openshift-client-linux.tar.gz --output oc-client.tar.gz && \
+RUN curl -L https://mirror.openshift.com/pub/openshift-v4/$(if [[ "$TARGETPLATFORM" == "linux/arm64" ]]; then echo "arm64"; else echo "amd64"; fi)/clients/ocp/stable-${OPENSHIFT_CLI_VERSION}/openshift-client-linux.tar.gz --output oc-client.tar.gz && \
82
mkdir tmp && \
83
cd tmp && \
84
tar xzf ../oc-client.tar.gz && \
0 commit comments