aws / aws/aws-codebuild-docker-images

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

Open
#695 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dockerfile
Stars
1.2k
Forks
971
Avg merge
2h 47m
Merged PRs (30d)
1

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.