From adca5e14b9cc14a40c27802acdb5c4f1b7a6d52e Mon Sep 17 00:00:00 2001 From: Eran Rundstein Date: Mon, 4 Mar 2024 12:46:01 -0800 Subject: [PATCH] wip --- build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.sh b/build.sh index 105a107..b90f4d0 100755 --- a/build.sh +++ b/build.sh @@ -10,6 +10,10 @@ export GIT_REV=`git rev-parse HEAD` echo "GIT_REV = ${GIT_REV}" source ./tools/download_sigstruct.sh + +# Fix multiplatform build memory issues +# https://github.com/docker/build-push-action/issues/621#issuecomment-1383624173 +export CARGO_NET_GIT_FETCH_WITH_CLI=true cargo build --jobs 1 --release --locked -p mc-mobilecoind -p mc-admin-http-gateway cat << EOF > "docker-readme.md"