diff --git a/Dockerfile b/Dockerfile index 3cc88b5b03..9ac0ff880e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -260,9 +260,8 @@ WORKDIR /usr/src/runc RUN git init . && git remote add origin "https://github.com/opencontainers/runc.git" # RUNC_VERSION should match the version that is used by the containerd version # that is used. If you need to update runc, open a pull request in the containerd -# project first, and update both after that is merged. When updating RUNC_VERSION, -# consider updating runc in vendor.mod accordingly. -ARG RUNC_VERSION=v1.3.0 +# project first, and update both after that is merged. +ARG RUNC_VERSION=v1.3.3 RUN git fetch -q --depth 1 origin "${RUNC_VERSION}" +refs/tags/*:refs/tags/* && git checkout -q FETCH_HEAD FROM base AS runc-build diff --git a/hack/dockerfile/install/runc.installer b/hack/dockerfile/install/runc.installer index 44eea006ea..01d54aa341 100755 --- a/hack/dockerfile/install/runc.installer +++ b/hack/dockerfile/install/runc.installer @@ -7,9 +7,7 @@ set -e # The version of runc should match the version that is used by the containerd # version that is used. If you need to update runc, open a pull request in # the containerd project first, and update both after that is merged. -# -# When updating RUNC_VERSION, consider updating runc in vendor.mod accordingly -: "${RUNC_VERSION:=v1.3.0}" +: "${RUNC_VERSION:=v1.3.3}" install_runc() { RUNC_BUILDTAGS="${RUNC_BUILDTAGS:-"seccomp"}"