-
Notifications
You must be signed in to change notification settings - Fork 293
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
pack build
could run faster
#345
Comments
I'm curious as to how this plays out with the overall architecture and the impact on aspects of the building process. One of the reasons for running 6 separate containers would be for isolation during phases. See: https://github.com/buildpack/spec/blob/master/platform.md#security-considerations The spec mentions SHOULD instead of MUST meaning that we could probably make this improvement but not sure we'd want to take on the implications and it's probably not the best practice, therefor not the best example of a reference implementation. @ekcasey and @sclevine might have more input or differing opinions. |
@dgageot One of the reasons for running the lifecycle phases in different containers is for credential isolation. We only provide registry credentials to I have actually been considering whether |
cc @lukasberger (see above comment, just FYI) |
This proposal is currently being fleshed out in buildpacks/rfcs#46 and we expect subsequent work to resolve this issue. Blocked by buildpacks/rfcs#46 & buildpacks/lifecycle#243 |
Hi, I have a prototype of
pack build
that always runs 8 seconds faster on my mac, using docker desktop. 8s is not a huge difference for a full build. But for an incremental build that pulls most of the things from cache, it really changes my perception.Basically, instead of running 6 times
docker run
and ephemeral volumes, I use one docker run and one docker exec.Would you be interested in this change?
The text was updated successfully, but these errors were encountered: