HN Top New Show Ask Jobs

settings

Theme

Hand Mode

Feed

Comment by zoobab

Comment by zoobab 3 days ago

1 reply

View on Hacker News

I use a special feature of Docker Buildx with a multistage Dockerfile build, with the SDK in the first part, and an empty container in the second part to copy the build artifact (like firmware.bin), like explained here:

https://docs.docker.com/build/building/export/

Does Podman supports the same feature?

mkesper 3 days ago

Yes, since 2021 they also support the same syntax natively: https://github.com/containers/buildah/pull/3133 While also supporting building Dockerfiles with buildah: https://github.com/containers/buildah/blob/main/docs/tutoria...

Reply View | 0 replies