Skip to content

Commit

Permalink
back to qemu
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyMusatkin committed Jan 9, 2025
1 parent 58eac70 commit 237172f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion codebuild/cd/musl-linux-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ echo "Using builder version ${BUILDER_VERSION}"

aws ecr get-login-password | docker login 123124136734.dkr.ecr.us-east-1.amazonaws.com -u AWS --password-stdin
export DOCKER_IMAGE=123124136734.dkr.ecr.us-east-1.amazonaws.com/${IMAGE_NAME}:${BUILDER_VERSION}
export QEMU_IMAGE=123124136734.dkr.ecr.us-east-1.amazonaws.com/multiarch-qemu-user-static:latest

uname -r

docker run --privileged --rm tonistiigi/binfmt --install all
docker run --rm --privileged ${QEMU_IMAGE} --reset -p yes

export BRANCH_TAG=$(git describe --tags)
docker run --mount type=bind,src=$(pwd),dst=/root/aws-crt-java --env AWS_DEFAULT_REGION --env CXXFLAGS --env AWS_CRT_ARCH --platform=${PLATFORM} $DOCKER_IMAGE --version=${BUILDER_VERSION} build -p aws-crt-java --classifier ${CLASSIFIER} --branch ${BRANCH_TAG} run_tests=false
Expand Down

0 comments on commit 237172f

Please sign in to comment.