aws / aws-codebuild-docker-images

Official AWS CodeBuild repository for managed Docker images http://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref.html
Other
1.11k stars 971 forks source link

aws/codebuild/standard:7.0-24.1.13 and 23.12.14 failing Lambda layer Makefile SAM build #695

Open ednmechrock opened 7 months ago

ednmechrock commented 7 months ago

Lambda layer Makefile SAM build is failing in CodeBuild image version aws/codebuild/standard:7.0-24.1.13 and 23.12.14. Had to roll back to 23.07.28 to get the build working again.

Getting the following error in both 24.1.13 and 23.12.14:

image image

Within the latest image version I tried updating Python to v3.11.7, which did not work and updating SAM to v1.107.0 which also did not work. However, the build does succeed with these versions locally.

Makefile SAM build fails at the following line: python -m pip install --upgrade pip. If I remove this line, it also fails in the same way at python -m pip install requirements.txt. However it does not fail when running the same commands outside of the Makefile but earlier in the build.

Any chance of getting a new version of aws/codebuild/standard:7.0 with latest dependencies versions?