[core] asset bundling fails with DOCKER_BUILDKIT=1 #8910
Labels
@aws-cdk/core
Related to core CDK functionality
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
Asset bundler fails with Docker buildkit. This is because of a regex searching for "Successfully built " which doesn't appear when using buildkit. Buildkit may some day be the default and some systems are already using buildkit by default so it's best to support both versions of docker build.
Reproduction Steps
The tests in aws-s3-assets can reproduce this issue handily:
The test works just fine when buildkit is disabled.
It fails when buildkit is enabled.
Error Log
Error: Failed to extract image ID from Docker build output
Environment
Other
It's a fairly easy fix. PR coming.
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: