Skip to content

Commit

Permalink
remove qemu
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyMusatkin committed Jan 7, 2025
1 parent 92a0fdd commit bb8b3d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions codebuild/cd/musl-linux-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ 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

#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
2 changes: 1 addition & 1 deletion codebuild/cd/musl-x64-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ phases:
build:
commands:
- cd aws-crt-java
- ./codebuild/cd/musl-linux-build.sh aws-crt-alpine-3.16-x64 linux-x86_64-musl linux/x64
- ./codebuild/cd/musl-linux-build.sh aws-crt-alpine-3.16-x64 linux-x86_64-musl linux/amd64

post_build:
commands:
Expand Down

0 comments on commit bb8b3d7

Please sign in to comment.