aws-solutions / aws-control-tower-customizations

The Customizations for AWS Control Tower solution combines AWS Control Tower and other highly-available, trusted AWS services to help customers more quickly set up a secure, multi-account AWS environment using AWS best practices.
https://docs.aws.amazon.com/controltower/latest/userguide/cfct-overview.html
Apache License 2.0
355 stars 205 forks source link

Upgrade build image to aws/codebuild/standard:5.0 #99

Closed akefirad closed 2 years ago

akefirad commented 2 years ago

Speaking of build jobs, at least in our case the big portion of the time is spent on apt-get update && apt-get upgrade -y. For example, among other things, there's

Preparing to unpack .../07-google-chrome-stable_100.0.4896.75-1_amd64.deb ...
Unpacking google-chrome-stable (100.0.4896.75-1) over (99.0.4844.51-1) ...

Does it really need google-chrome-stable? Is there any way to make the this phase faster? Thanks.

snebhu3 commented 2 years ago

@akefirad thank you for reaching out. I have created a backlog to address this request.

adam-daily commented 2 years ago

Hi @akefirad , just letting you know that the latest update should resolve this. Thanks again for bringing to our attention.

akefirad commented 2 years ago

That reduced the build time significantly. Great work!