From 1a341a63defa4406d5097a37445dfc6a5728fc3a Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Mon, 6 Apr 2026 07:31:15 +0900 Subject: [PATCH] Dockerfile: fix building runc >= 1.5.0-rc.2 Fix issue 4825 Signed-off-by: Akihiro Suda --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0aa3f541341..6bbec3d9a36 100644 --- a/Dockerfile +++ b/Dockerfile @@ -98,7 +98,7 @@ RUN git-checkout-tag-with-hash.sh ${RUNC_VERSION} && \ mkdir -p /out ENV CGO_ENABLED=1 # FIXME: avoid omitting libpathrs -RUN set -x ; GO=xx-go CC=$(xx-info)-gcc STRIP=$(xx-info)-strip make BUILDTAGS="$(grep -oP "^BUILDTAGS := \K.*" Makefile | sed -e s/libpathrs//)" static && \ +RUN set -x ; GO=xx-go CC=$(xx-info)-gcc STRIP=$(xx-info)-strip make RUNC_BUILDTAGS="-libpathrs" static && \ xx-verify --static runc && cp -v -a runc /out/runc.${TARGETARCH} FROM build-base AS build-bypass4netns