From a5478dde0ee59e2154e42bcd7f1c94c9d6eaed34 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Sun, 18 Aug 2024 04:35:56 +0900 Subject: [PATCH] Dockerfile: update RootlessKit to v2.3.1 https://github.com/rootless-containers/rootlesskit/compare/v2.0.2...v2.3.1 Signed-off-by: Akihiro Suda (cherry picked from commit 43036f350abc19789a0410c49f8956748c07dbf7) Signed-off-by: Sebastiaan van Stijn --- Dockerfile | 2 +- hack/dockerfile/install/rootlesskit.installer | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0ff37fc6c1..622f4b4443 100644 --- a/Dockerfile +++ b/Dockerfile @@ -356,7 +356,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.2 +ARG ROOTLESSKIT_VERSION=v2.3.1 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 de6846ae17..3c3e96189b 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.2}" +: "${ROOTLESSKIT_VERSION:=v2.3.1}" install_rootlesskit() { case "$1" in