From e4f47f52660441246c881f914279a8412de848d5 Mon Sep 17 00:00:00 2001 From: DmitriyMusatkin Date: Wed, 25 Dec 2024 19:52:45 -0800 Subject: [PATCH] before image --- codebuild/cd/musl-linux-build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codebuild/cd/musl-linux-build.sh b/codebuild/cd/musl-linux-build.sh index c493fc001..873f717d1 100755 --- a/codebuild/cd/musl-linux-build.sh +++ b/codebuild/cd/musl-linux-build.sh @@ -16,10 +16,10 @@ 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 --platform=${PLATFORM} -p yes +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 $DOCKER_IMAGE --version=${BUILDER_VERSION} --platform=${PLATFORM} build -p aws-crt-java --classifier ${CLASSIFIER} --branch ${BRANCH_TAG} run_tests=false +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 docker container prune -f # Upload the artifacts to S3