File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,16 @@ RUN mkdir -p \
31
31
/etc/cni/net.d
32
32
33
33
# Install containerd to have runc shim.
34
- ENV CTRD_VERSION="1.6.4"
35
- RUN wget --quiet -O- https://github.com/containerd/containerd/releases/download/v$CTRD_VERSION/containerd-$CTRD_VERSION-linux-amd64.tar.gz | tar zxf - -C /tmp/ && \
34
+ ENV CTRD_VERSION="1.6.8"
35
+ RUN ARCH=`go env GOARCH` && \
36
+ wget --quiet -O- https://github.com/containerd/containerd/releases/download/v$CTRD_VERSION/containerd-$CTRD_VERSION-linux-${ARCH}.tar.gz | tar zxf - -C /tmp/ && \
36
37
install -D -o root -g root -m755 -t /usr/local/bin /tmp/bin/containerd-shim-runc-v2 && \
37
38
rm -rf /tmp/bin
38
39
39
40
# Install critest.
40
41
ENV CRITEST_VERSION="1.23.0"
41
- RUN wget --quiet -O- https://github.com/kubernetes-sigs/cri-tools/releases/download/v$CRITEST_VERSION/critest-v$CRITEST_VERSION-linux-amd64.tar.gz | tar zxf - -C /tmp/ && \
42
+ RUN ARCH=`go env GOARCH` && \
43
+ wget --quiet -O- https://github.com/kubernetes-sigs/cri-tools/releases/download/v$CRITEST_VERSION/critest-v$CRITEST_VERSION-linux-${ARCH}.tar.gz | tar zxf - -C /tmp/ && \
42
44
install -D -o root -g root -m755 -t /usr/local/bin /tmp/critest && \
43
45
rm -f /tmp/critest
44
46
You can’t perform that action at this time.
0 commit comments