Skip to content

Commit e430d80

Browse files
authored
Merge pull request #4794 from AkihiroSuda/fix-4793
Dockerfile: runc: omit libpathrs
2 parents 9d7c8ed + 55513ee commit e430d80

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 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 && \
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)