News for hackers. Stuff that matters.
Re:Non-Obvious Docker Uses by leotaku on Sunday July 24, 2022 @01:22PM (#32215592)
I don't know about BuildKit and `docker buildx`, but I've been using an approach similar to what is outlined in paragraph two to generate static executables for one of my projects.

I use a multistage build to generate a podman/docker image that contains all my build artifacts and then just copy them out of the container onto my host system. What advantages would there be in using BuildKit for this sort of thing?

Re:Non-Obvious Docker Uses by rckrd on Sunday July 24, 2022 @01:42PM (#32215786)
Essentially the same thing in one step. Can avoid some of the permission issue gotchas with `docker cp`.