Skip to content

Commit 7e75010

Browse files
authored
Merge pull request #4826 from AkihiroSuda/ci
Dockerfile: fix building runc >= 1.5.0-rc.2
2 parents 7dc92b3 + 1a341a6 commit 7e75010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ RUN git-checkout-tag-with-hash.sh ${RUNC_VERSION} && \
9898
mkdir -p /out
9999
ENV CGO_ENABLED=1
100100
# FIXME: avoid omitting libpathrs
101-
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 && \
101+
RUN set -x ; GO=xx-go CC=$(xx-info)-gcc STRIP=$(xx-info)-strip make RUNC_BUILDTAGS="-libpathrs" static && \
102102
xx-verify --static runc && cp -v -a runc /out/runc.${TARGETARCH}
103103

104104
FROM build-base AS build-bypass4netns

0 commit comments

Comments
 (0)