top | item 32215592

(no title)

leotaku | 3 years ago

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?

discuss

order

rckrd|3 years ago

Essentially the same thing in one step. Can avoid some of the permission issue gotchas with `docker cp`.