containers / podman-desktop

Podman Desktop is the best free and open source tool to work with Containers and Kubernetes for developers. Get an intuitive and user-friendly interface to effortlessly build, manage, and deploy containers and Kubernetes — all from your desktop.
https://podman-desktop.io
Apache License 2.0
4.57k stars 292 forks source link

Support using --build-arg-file for building / supplying a build arg file to build a container. #7784

Open cdrage opened 2 months ago

cdrage commented 2 months ago

Is your feature request related to a problem? Please describe

Got this request IRL during a Podman meetup.

Someone asked how they could supply a build arg file for building a container.

And we don't at the moment..

Example:

podman build --build-arg-file foobar.env

Which is very beneficial with regards to building something that has multiple environment variables.

Describe the solution you'd like

Be able to provide a build arg file when building.

Describe alternatives you've considered

No response

Additional context

No response

mrguitar commented 1 month ago

+1 I just ran into this tonight. Thanks for opening this.

mrguitar commented 1 month ago

Wait a minute. This has been added. I believe we can close this!

cdrage commented 1 month ago

Wait a minute. This has been added. I believe we can close this!

Hi! Only supplying individual build args in build, but not the arg file yet.

mrguitar commented 1 month ago

Ah, I see. Sorry for the noise!