|
1 | 1 | # syntax=docker/dockerfile-upstream:master
|
2 | 2 |
|
3 | 3 | ARG RUNC_VERSION=v1.1.4
|
4 |
| -ARG CONTAINERD_VERSION=v1.6.13 |
5 |
| -# containerd v1.5 for integration tests |
6 |
| -ARG CONTAINERD_ALT_VERSION_15=v1.5.16 |
| 4 | +ARG CONTAINERD_VERSION=v1.7.0-beta.3 |
| 5 | +# containerd v1.6 for integration tests |
| 6 | +ARG CONTAINERD_ALT_VERSION_16=v1.6.16 |
7 | 7 | ARG REGISTRY_VERSION=2.8.0
|
8 | 8 | ARG ROOTLESSKIT_VERSION=v1.0.1
|
9 | 9 | ARG CNI_VERSION=v1.1.1
|
@@ -158,12 +158,12 @@ RUN --mount=from=containerd-src,src=/usr/src/containerd,readwrite --mount=target
|
158 | 158 | && make bin/ctr \
|
159 | 159 | && mv bin /out
|
160 | 160 |
|
161 |
| -# containerd v1.5 for integration tests |
162 |
| -FROM containerd-base as containerd-alt-15 |
163 |
| -ARG CONTAINERD_ALT_VERSION_15 |
| 161 | +# containerd v1.6 for integration tests |
| 162 | +FROM containerd-base as containerd-alt-16 |
| 163 | +ARG CONTAINERD_ALT_VERSION_16 |
164 | 164 | RUN --mount=from=containerd-src,src=/usr/src/containerd,readwrite --mount=target=/root/.cache,type=cache \
|
165 | 165 | git fetch origin \
|
166 |
| - && git checkout -q "$CONTAINERD_ALT_VERSION_15" \ |
| 166 | + && git checkout -q "$CONTAINERD_ALT_VERSION_16" \ |
167 | 167 | && make bin/containerd \
|
168 | 168 | && make bin/containerd-shim-runc-v2 \
|
169 | 169 | && mv bin /out
|
@@ -237,13 +237,13 @@ RUN curl -Ls https://raw.githubusercontent.com/moby/moby/v20.10.21/hack/dind > /
|
237 | 237 | && chmod 0755 /docker-entrypoint.sh
|
238 | 238 | ENTRYPOINT ["/docker-entrypoint.sh"]
|
239 | 239 | # musl is needed to directly use the registry binary that is built on alpine
|
240 |
| -ENV BUILDKIT_INTEGRATION_CONTAINERD_EXTRA="containerd-1.5=/opt/containerd-alt-15/bin" |
| 240 | +ENV BUILDKIT_INTEGRATION_CONTAINERD_EXTRA="containerd-1.6=/opt/containerd-alt-16/bin" |
241 | 241 | ENV BUILDKIT_INTEGRATION_SNAPSHOTTER=stargz
|
242 | 242 | ENV CGO_ENABLED=0
|
243 | 243 | COPY --link --from=nydus /out/nydus-static/* /usr/bin/
|
244 | 244 | COPY --link --from=stargz-snapshotter /out/* /usr/bin/
|
245 | 245 | COPY --link --from=rootlesskit /rootlesskit /usr/bin/
|
246 |
| -COPY --link --from=containerd-alt-15 /out/containerd* /opt/containerd-alt-15/bin/ |
| 246 | +COPY --link --from=containerd-alt-16 /out/containerd* /opt/containerd-alt-16/bin/ |
247 | 247 | COPY --link --from=registry /bin/registry /usr/bin/
|
248 | 248 | COPY --link --from=runc /usr/bin/runc /usr/bin/
|
249 | 249 | COPY --link --from=containerd /out/containerd* /usr/bin/
|
|
0 commit comments