-
Notifications
You must be signed in to change notification settings - Fork 9
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
Build breaking with ruby build pack after the recent version bumps #1006
Comments
@pbrumm can you share the exact command you're running? The likely issue here is that you're adding some additional buildpack or something that's contributing to the layer limit and ultimately pushing it over the 127 limit imposed by docker. Unfortunately there's no elegant way around this. If you know the specific buildpacks you want ahead of time, you can switch to the buildpackless builder and manually add the buildpacks you need via |
I got past it by rolling back to prior versions. that won't last long.
|
those 4 libs changed today and must have pushed it past the limit. |
Yeah, it sounds like you're hitting the layer limit. This is a limitation of the docker layer limit combined with the fact that the full builder (with buildpacks) contains a lot of different buildpacks. Once you start adding your own you can easily go over the limit. Given that you know your list of buildpacks, I'd suggest switching to the buildpackless builder I linked above. Also, as an aside, I'd suggest you switch to the jammy builder - the bionic builder (which is what you're using above) is deprecated and not updated. It likely has unaddressed CVEs. |
Expected Behavior
build worked as of Sept 12 11am central
Current Behavior
ERROR: failed to build: failed to write image to the following tags: [pack.local/builder/75647075726175716f69:latest: loading image "pack.local/builder/75647075726175716f69:latest". first error: embedded daemon response: max depth exceeded]
I can reproduce on latest pack-cli locally and in the cloud deploy.
I am not versioning any of the libraries in the project.toml file and that error in the past has been due to something getting mixed up in the version upgrades.
The text was updated successfully, but these errors were encountered: