Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prototype of building assets outside of CDK #1

Closed
wants to merge 1 commit into from

Conversation

alukach
Copy link

@alukach alukach commented Jun 9, 2023

Currently, there does not appear to be a way to use CDK to build an asset via Docker with a specified to/from cache value. aws/aws-cdk#24524 aims to remedy that, but in the meantime this PR updates this example to build the asset outside of CDK where we can use all of buildkit's features.

The result is getting the asset build time down from 58s to 6s (90% improvement).

Before

image

After

image

@alukach alukach requested a review from emileten June 9, 2023 21:24
@alukach alukach closed this Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant