Skip to content

Commit

Permalink
this?
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyMusatkin committed Dec 30, 2024
1 parent 6a77915 commit 3e53b7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion codebuild/cd/musl-arm64-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 0.2
phases:
install:
commands:
- sudo yum install -y qemu-user-static binfmt-support
- sudo yum install -y qemu-user qemu-user-static binfmt-support
pre_build:
commands:
- export CC=gcc
Expand Down
1 change: 1 addition & 0 deletions codebuild/cd/musl-linux-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ aws ecr get-login-password | docker login 123124136734.dkr.ecr.us-east-1.amazona
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
#docker run --rm --privileged ${QEMU_IMAGE} --reset -p yes
docker run --rm --privileged multiarch/qemu-user-static --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 3e53b7b

Please sign in to comment.