Skip to content

Commit

Permalink
Fix arm64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
wzshiming authored Jan 18, 2022
1 parent aa07168 commit 42c840a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ for platform in ${BUILD_PLATFORMS[*]}; do
docker run --rm -v $(pwd):/go/src/github.com/opencontainers/runc -w /go/src/github.com/opencontainers/runc golang:1.17 \
/bin/bash -c "
apt-get update && apt-get install libseccomp-dev
GO111MODULE=auto GOOS=${os} GOARCH=${arch} make BUILDTAGS='${BUILDTAGS}' runc && \
GO111MODULE=auto GOOS=${os} GOARCH=${arch} CGO_ENABLED=1 make BUILDTAGS='${BUILDTAGS}' runc && \
mv runc _output/${os}/${arch}/runc/ || :
" || echo "fail ${platform}"

Expand Down

0 comments on commit 42c840a

Please sign in to comment.