-
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
Allow if-not-present
pull policy for builds with image extensions
#2204
Comments
if-not-present
pull policy for builds with image extensions
Make sense to me, but no sure if @natalieparellano has some thoughts about it |
The issue with However, I believe some recent changes to imgutil (see https://github.com/buildpacks/imgutil/blob/main/local/v1_facade.go) should make it possible to construct a dummy manifest that may be good enough for our purposes (kaniko). We should do an exploration for it. |
Could you please assign this to me? This issue involves a slightly deeper implementation of the pack than those I've worked on before, but I’d like to take on more challenging tasks. Anyway, I'm thinking about start with this exploration. I’d appreciate any advice you could share. |
@hhiroshell thank you for looking into this, and apologies for the slow reply - after digging into this a little further, I think this issue might make more sense on the lifecycle as the bulk of the effort would be there, although both pack and the lifecycle would require changes.
That should be sufficient as an exploration. To make this a "real" feature, we'd want to inspect the Unfortunately, this may be a little difficult to work on without guidance from someone with a lot of context. I have worked a lot on extensions, but I am about to step away for several months. I don't want to discourage anyone from looking into this however, as it would be good for others to build context, just cautioning that a fair amount of discovery may be needed! Hope this is helpful. Best of luck! |
Hi @natalieparellano, Thank you so much for your helpful guidance—it’s been invaluable. It seems like there’s a lot of work to do, but now that the tasks are somewhat clear, I believe we can make progress. And I’m truly sorry to hear that you’re stepping away... 😢 |
Description
When running
pack build
and the builder contains image extensions, the build fails with:Proposed solution
The
pack build
command should accept--pull-policy if-not-present
as argument, also if the builder contains image extensions.Additional context
I don't want to rely on a local registry or internet connection when building my images locally.
The text was updated successfully, but these errors were encountered: