Skip to content

Commit 7bcfc50

Browse files
committed
Dockerfile: runc: set CC and STRIP explicitly
Split from PR 3153. Needed for cross-compilation of runc v1.2. Signed-off-by: Akihiro Suda <[email protected]>
1 parent 53d898d commit 7bcfc50

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
@@ -90,7 +90,7 @@ WORKDIR /go/src/github.com/opencontainers/runc
9090
RUN git checkout ${RUNC_VERSION} && \
9191
mkdir -p /out
9292
ENV CGO_ENABLED=1
93-
RUN GO=xx-go make static && \
93+
RUN GO=xx-go CC=$(xx-info)-gcc STRIP=$(xx-info)-strip make static && \
9494
xx-verify --static runc && cp -v -a runc /out/runc.${TARGETARCH}
9595

9696
FROM build-base-debian AS build-bypass4netns

0 commit comments

Comments
 (0)