Skip to content

Commit 49600a4

Browse files
committed
Dockerfile: runc: omit libpathrs
Fix issue 4793 Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
1 parent 1441fbe commit 49600a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ WORKDIR /go/src/github.com/opencontainers/runc
9797
RUN git-checkout-tag-with-hash.sh ${RUNC_VERSION} && \
9898
mkdir -p /out
9999
ENV CGO_ENABLED=1
100-
RUN GO=xx-go CC=$(xx-info)-gcc STRIP=$(xx-info)-strip make static && \
100+
# FIXME: avoid omitting libpathrs
101+
RUN GO=xx-go CC=$(xx-info)-gcc STRIP=$(xx-info)-strip BUILDTAGS="$(grep -oP "^BUILDTAGS := \K.*" Makefile | sed -e s/libpathrs//)" make static && \
101102
xx-verify --static runc && cp -v -a runc /out/runc.${TARGETARCH}
102103

103104
FROM build-base AS build-bypass4netns

0 commit comments

Comments
 (0)