Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Use Amazon Linux 2 for the CodeBuild image #13

Open
ferdingler opened this issue Oct 21, 2019 · 3 comments
Open

Use Amazon Linux 2 for the CodeBuild image #13

ferdingler opened this issue Oct 21, 2019 · 3 comments

Comments

@ferdingler
Copy link
Member

The CodeBuild project uses the Ubuntu aws/codebuild/standard:2.0 image from CodeBuild. I propose to use the Amazon Linux 2 managed image (aws/codebuild/amazonlinux2-x86_64-standard:1.0) instead because it comes with the SAM CLI pre-installed. This will allow customers to run sam build and sam package commands in the buildspec file.

Happy to contribute with a Pull Request if you want.

@honglu
Copy link
Contributor

honglu commented Oct 22, 2019

That is great suggestion! I was not aware of that and running into issue with the standard image not having SAM CLI installed as well. A PR is much appreciated!

@ferdingler
Copy link
Member Author

I'll submit a PR soon

@russomi
Copy link

russomi commented Dec 1, 2020

I am interested in this also, but I would like to see it exposed as a parameter with a default value.

Here is the reference that we need to add as a parameter.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants