-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Create an extension for using podman to build container images #40699
Comments
I was thinking about this a bit. Right now if you use the Do we really need a separate extension? The only real difference I see is if we want to build multi-arch images. RIght now we have the For podman, building multi-arch images is built in. The only difference is the sequence of commands you need to use. Rather than pretty much copy/pasting the entire This way the amount of change will be much, much less, and we won't need to invent a new extension which is 90% copy/pasted code (plus a bunch of new If we decide in the future we want to support podman-specific ways of building images using things like containerfiles, then sure maybe we need a new extension. But for now we just want to build/push images. If we just add a new sub-config item and leave just a Thoughts? |
This is rather unintuitive. I would do one of the following:
|
Yeah I agree that Really everything works out of the box just by setting I like the idea of stripping out common stuff from It would basically come down to
Everything else would remain exactly the same. |
What about if I only have a single processor, but 2 sets of config items
Then the processor brings in both, errors out if both are configured, then goes down the correct path. Maybe there are 2 processors with a base class that has shared logic, but ulitimately only |
i'll throw something together and do a draft PR and we can discuss/review and make any changes. Might be easier that way so there's something concrete rather than talking in the abstract. |
I think that's suboptimal because a user that wants podman would just add that extension to the classpath and the tooling can help autocomplete the necessary properties. |
Are you saying that it should be split into 2 completely separate extensions ( |
I'm saying that I propose two different extensions (that can share code however), or just keep things as they are and simply document what users should do when using podman |
If they want to build multi-arch images, they can not do this currently using the |
Description
Currently we have Jib, Docker, OpenShift, and Buildpack container images. There isn't a way to use podman to build a container image and have it loaded into the local registry.
I'm proposing a new
container-image-podman
extension which would essentially mirror thecontainer-image-docker
extension and implement similar capabilities, as supported by podman.Implementation ideas
No response
The text was updated successfully, but these errors were encountered: