We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9d7c8ed + 55513ee commit e430d80Copy full SHA for e430d80
Dockerfile
@@ -97,7 +97,8 @@ WORKDIR /go/src/github.com/opencontainers/runc
97
RUN git-checkout-tag-with-hash.sh ${RUNC_VERSION} && \
98
mkdir -p /out
99
ENV CGO_ENABLED=1
100
-RUN GO=xx-go CC=$(xx-info)-gcc STRIP=$(xx-info)-strip make static && \
+# 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 && \
102
xx-verify --static runc && cp -v -a runc /out/runc.${TARGETARCH}
103
104
FROM build-base AS build-bypass4netns
0 commit comments