privacysandbox / protected-auction-key-value-service

Protected Auction Key/Value Service
Apache License 2.0
55 stars 20 forks source link

Unable to build the Amazon Machine Image (AMI) #45

Closed thyagram-aws closed 7 months ago

thyagram-aws commented 7 months ago

I'm trying to build the AMI following the instructions provided in docs/deployment/deploying_on_aws.md However, towards the end of the build process I keep getting.

build_and_test_in_docker completed successfully ==== Creating dist dir ===== ==== build AWS artifacts using build-amazonlinux2 ===== === cbuild build-amazonlinux2 action envs === action_env=TOOLCHAINS_HASH=47bde5c81ada76f5f4f8eef98954ff1ad166145aeb3141cb9dec6defa5d1dd71 Loaded image: bazel/production/packaging/aws/data_server:server_docker_image Start building the Enclave Image... Docker error: PullError [ E50 ] Docker image pull error. Such error appears when trying to build an EIF file, but pulling the corresponding docker image fails. In this case, the error backtrace provides detailed informatino on the failure reason.

The issue seems to be stemming from Line 138 in the aws/build_and_test script nitro-cli build-enclave --docker-uri ${IMAGE_URI}:'${IMAGE_TAG}' --output-file dist/aws/server_enclave_image.eif >dist/aws/server_enclave_image.json

Runningdocker image ls seems to show that the docker repository and the tag are present.

thyagram-aws commented 7 months ago

The issue seems to be related to https://github.com/aws/aws-nitro-enclaves-cli/issues/537 For now you can close this issue. Thanks