Skip to content

Commit 73d52dd

Browse files
authored
Merge pull request #6426 from AkihiroSuda/dev
Dockerfile: update deps
2 parents d1e5d1a + 9d6f595 commit 73d52dd

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

Dockerfile

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
# syntax=docker/dockerfile-upstream:master
22

3-
ARG RUNC_VERSION=v1.3.3
4-
ARG CONTAINERD_VERSION=v2.1.4
3+
ARG RUNC_VERSION=v1.3.4
4+
ARG CONTAINERD_VERSION=v2.2.1
55
# CONTAINERD_ALT_VERSION_... defines fallback containerd version for integration tests
6-
ARG CONTAINERD_ALT_VERSION_20=v2.0.6
7-
ARG CONTAINERD_ALT_VERSION_17=v1.7.28
6+
ARG CONTAINERD_ALT_VERSION_21=v2.1.6
7+
ARG CONTAINERD_ALT_VERSION_17=v1.7.30
88
ARG REGISTRY_VERSION=v2.8.3
9-
ARG ROOTLESSKIT_VERSION=v2.3.5
10-
ARG CNI_VERSION=v1.8.0
11-
ARG STARGZ_SNAPSHOTTER_VERSION=v0.15.1
12-
ARG NERDCTL_VERSION=v2.1.2
9+
ARG ROOTLESSKIT_VERSION=v2.3.6
10+
ARG CNI_VERSION=v1.9.0
11+
ARG STARGZ_SNAPSHOTTER_VERSION=v0.18.1
12+
ARG NERDCTL_VERSION=v2.2.0
1313
ARG DNSNAME_VERSION=v1.3.1
14-
ARG NYDUS_VERSION=v2.3.7
14+
ARG NYDUS_VERSION=v2.3.9
1515
ARG MINIO_VERSION=RELEASE.2025-09-07T16-13-09Z
1616
ARG MINIO_MC_VERSION=RELEASE.2025-08-13T08-35-41Z
17-
ARG AZURITE_VERSION=3.33.0
18-
ARG GOTESTSUM_VERSION=v1.9.0
19-
ARG DELVE_VERSION=v1.23.1
17+
ARG AZURITE_VERSION=3.35.0
18+
ARG GOTESTSUM_VERSION=v1.13.0
19+
ARG DELVE_VERSION=v1.25.2
2020

2121
ARG EXPORT_BASE=alpine
2222
ARG ALPINE_VERSION=3.22
2323
ARG UBUNTU_VERSION=24.04
2424

2525
ARG GO_VERSION=1.25
26-
ARG XX_VERSION=1.7.0
26+
ARG XX_VERSION=1.9.0
2727
ARG BUILDKIT_DEBUG
2828

2929
# minio for s3 integration tests
@@ -231,7 +231,8 @@ RUN mkdir -p /etc/cdi /var/run/cdi /etc/buildkit/cdi
231231
FROM gobuild-base AS containerd-build
232232
WORKDIR /go/src/github.com/containerd/containerd
233233
ARG TARGETPLATFORM
234-
ENV CGO_ENABLED=1 CGO_LDFLAGS="-fuse-ld=lld" BUILDTAGS=no_btrfs GO111MODULE=off
234+
# nri_no_wasm: workaround for a compilation error https://github.com/moby/buildkit/pull/6340
235+
ENV CGO_ENABLED=1 CGO_LDFLAGS="-fuse-ld=lld" BUILDTAGS="no_btrfs nri_no_wasm" GO111MODULE=off
235236
RUN xx-apk add musl-dev gcc && xx-go --wrap
236237
COPY --chmod=755 <<-EOT /build.sh
237238
#!/bin/sh
@@ -261,11 +262,11 @@ ARG CONTAINERD_VERSION
261262
ADD --keep-git-dir=true "https://github.com/containerd/containerd.git#$CONTAINERD_VERSION" .
262263
RUN /build.sh
263264

264-
# containerd-alt-20 builds containerd v2.0 for integration tests
265-
FROM containerd-build AS containerd-alt-20
265+
# containerd-alt-21 builds containerd v2.1 for integration tests
266+
FROM containerd-build AS containerd-alt-21
266267
WORKDIR /go/src/github.com/containerd/containerd
267-
ARG CONTAINERD_ALT_VERSION_20
268-
ADD --keep-git-dir=true "https://github.com/containerd/containerd.git#$CONTAINERD_ALT_VERSION_20" .
268+
ARG CONTAINERD_ALT_VERSION_21
269+
ADD --keep-git-dir=true "https://github.com/containerd/containerd.git#$CONTAINERD_ALT_VERSION_21" .
269270
RUN /build.sh
270271

271272
# containerd-alt-17 builds containerd v1.7 for integration tests
@@ -432,7 +433,7 @@ RUN curl -fsSL https://raw.githubusercontent.com/moby/moby/v25.0.1/hack/dind > /
432433
&& chmod 0755 /docker-entrypoint.sh
433434
ENTRYPOINT ["/docker-entrypoint.sh"]
434435
# musl is needed to directly use the registry binary that is built on alpine
435-
ENV BUILDKIT_INTEGRATION_CONTAINERD_EXTRA="containerd-2.0=/opt/containerd-alt-20/bin,containerd-1.7=/opt/containerd-alt-17/bin"
436+
ENV BUILDKIT_INTEGRATION_CONTAINERD_EXTRA="containerd-2.1=/opt/containerd-alt-21/bin,containerd-1.7=/opt/containerd-alt-17/bin"
436437
ENV BUILDKIT_INTEGRATION_SNAPSHOTTER=stargz
437438
ENV BUILDKIT_SETUP_CGROUPV2_ROOT=1
438439
ENV BUILDKIT_TEST_SIGN_FIXTURES=/tmp/buildkit_test_sign_fixtures
@@ -446,7 +447,7 @@ COPY --link --from=minio-mc /usr/bin/mc /usr/bin/
446447
COPY --link --from=nydus /out/nydus-static/* /usr/bin/
447448
COPY --link --from=stargz-snapshotter /out/* /usr/bin/
448449
COPY --link --from=rootlesskit /rootlesskit /usr/bin/
449-
COPY --link --from=containerd-alt-20 /out/containerd* /opt/containerd-alt-20/bin/
450+
COPY --link --from=containerd-alt-21 /out/containerd* /opt/containerd-alt-21/bin/
450451
COPY --link --from=containerd-alt-17 /out/containerd* /opt/containerd-alt-17/bin/
451452
COPY --link --from=registry /out /usr/bin/
452453
COPY --link --from=runc /usr/bin/runc /usr/bin/

0 commit comments

Comments
 (0)