Skip to content

Commit

Permalink
Merge pull request #5 from klts-io/fix/arm
Browse files Browse the repository at this point in the history
Fix arm64 build
  • Loading branch information
wzshiming authored Jan 18, 2022
2 parents aa07168 + 42c840a commit bbb8fba
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 bbb8fba

Please sign in to comment.