-
Notifications
You must be signed in to change notification settings - Fork 41.4k
Description
Reproducible example: https://github.com/backjo/broken-buildpack-example/blob/master/build.gradle.kts#L34 (see associated GitHub Action for failure)
Earlier discussion: https://github.com/orgs/paketo-buildpacks/discussions/29#discussioncomment-2868631
The bootBuildImage task is failing after a new base builder was released. It fails with an obscure error, generated in DockerApi.java "Invalid response received when loading image".
After some further investigation, it appears that the archive that the Spring plugin is sending to the Docker Engine API has too many layers in it, resulting in the following error from the Docker Engine API.
The main change that we've observed was the increase in the Docker layer count of the base image from paketobuildpacks/builder:0.2.69-base
-> paketobuildpacks/builder:0.2.70-base
, which added two new layers to the base image. This appears to cause the gradle plugin implementation here to start hitting the max layer limit (127).
{"errorDetail":{"message":"max depth exceeded"},"error":"max depth exceeded"}