diff --git a/Dockerfile b/Dockerfile index c5fd1e8e29..c56dc2ca89 100644 --- a/Dockerfile +++ b/Dockerfile @@ -191,7 +191,7 @@ RUN git init . && git remote add origin "https://github.com/containerd/container # When updating the binary version you may also need to update the vendor # version to pick up bug fixes or new APIs, however, usually the Go packages # are built from a commit from the master branch. -ARG CONTAINERD_VERSION=v1.6.22 +ARG CONTAINERD_VERSION=v1.6.27 RUN git fetch -q --depth 1 origin "${CONTAINERD_VERSION}" +refs/tags/*:refs/tags/* && git checkout -q FETCH_HEAD FROM base AS containerd-build