File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -92,13 +92,14 @@ RUN set -ex \
9292 && bats -v
9393
9494# Install oc
95+ ARG OC_VERSION=4.11.0-0.okd-2023-01-14-152430
9596RUN set -e; \
9697 case "$TARGETARCH" in \
9798 "amd64" ) OC_ARCH="" ;; \
9899 "arm64" ) OC_ARCH="arm64-" ;; \
99100 *) echo "Unsupported $TARGETARCH" ; exit 1;; \
100101 esac \
101- && wget --no-verbose -O oc.tgz https://github.com/okd-project/okd/releases/download/4.11.0-0.okd-2023-01-14-152430 /openshift-client-linux-${OC_ARCH}4.11.0-0.okd-2023-01-14-152430 .tar.gz \
102+ && wget --no-verbose -O oc.tgz https://github.com/okd-project/okd/releases/download/${OC_VERSION} /openshift-client-linux-${OC_ARCH}${OC_VERSION} .tar.gz \
102103 && mkdir "oc-dir" \
103104 && tar -C "oc-dir" -xf oc.tgz \
104105 && install oc-dir/oc /usr/local/bin \
You can’t perform that action at this time.
0 commit comments