File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ RUN DEFAULT_ARCH="$(go env GOHOSTARCH)" hack/build.sh
1010
1111FROM registry.ci.openshift.org/ocp/4.15:cli as cli
1212FROM quay.io/ocp-splat/govc:v0.30.7 as govc
13+ FROM quay.io/multi-arch/yq:3.3.0 as yq3
14+ FROM quay.io/multi-arch/yq:4.30.5 as yq4
1315
1416FROM registry.ci.openshift.org/ocp/4.15:base
1517COPY --from=cli /usr/bin/oc /bin/oc
@@ -42,12 +44,8 @@ RUN yum update -y && \
4244 rm -rf /var/cache/yum/* && \
4345 chmod g+w /etc/passwd
4446
45- ARG YQ_URI=https://github.com/mikefarah/yq/releases/download/3.3.0/yq_linux_amd64
46- ARG YQ_HASH=e70e482e7ddb9cf83b52f5e83b694a19e3aaf36acf6b82512cbe66e41d569201
47- RUN echo "${YQ_HASH} -" > /tmp/sum.txt && \
48- curl -L --fail "${YQ_URI}" | tee /bin/yq-go | sha256sum -c /tmp/sum.txt >/dev/null && \
49- chmod +x /bin/yq-go && \
50- rm /tmp/sum.txt
47+ COPY --from=yq3 /yq /bin/yq-go
48+ COPY --from=yq4 /usr/bin/yq /bin/yq-v4
5149
5250ARG ALIYUN_URI=https://aliyuncli.alicdn.com/aliyun-cli-linux-latest-amd64.tgz
5351RUN curl -sSL "${ALIYUN_URI}" --output /tmp/aliyun-cli-linux-latest-amd64.tgz && \
You can’t perform that action at this time.
0 commit comments