diff --git a/Dockerfile b/Dockerfile index 9ef90b60e3..1a7877485c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -352,7 +352,7 @@ FROM base AS rootlesskit-src WORKDIR /usr/src/rootlesskit RUN git init . && git remote add origin "https://github.com/rootless-containers/rootlesskit.git" # When updating, also update vendor.mod and hack/dockerfile/install/rootlesskit.installer accordingly. -ARG ROOTLESSKIT_VERSION=v2.0.1 +ARG ROOTLESSKIT_VERSION=v2.0.2 RUN git fetch -q --depth 1 origin "${ROOTLESSKIT_VERSION}" +refs/tags/*:refs/tags/* && git checkout -q FETCH_HEAD FROM base AS rootlesskit-build diff --git a/hack/dockerfile/install/rootlesskit.installer b/hack/dockerfile/install/rootlesskit.installer index 7540f5a487..de6846ae17 100755 --- a/hack/dockerfile/install/rootlesskit.installer +++ b/hack/dockerfile/install/rootlesskit.installer @@ -1,7 +1,7 @@ #!/bin/sh # When updating, also update vendor.mod and Dockerfile accordingly. -: "${ROOTLESSKIT_VERSION:=v2.0.1}" +: "${ROOTLESSKIT_VERSION:=v2.0.2}" install_rootlesskit() { case "$1" in