Why didn't I ever think of this.
This is great and really makes things way simpler. Thanks!
This is great and really makes things way simpler. Thanks!
Many other dockerfile build tools still don't support it, e.g. buildah (see https://github.com/containers/buildah/issues/3474)
Useful now if you have control over the environment your images are being built in, but I'm excited to the future where it's commonplace!
You can put stuff in a script file and just run that script too.
Tracking for this: https://github.com/docker/buildx/issues/1104
this has been a serious pain in my side for a while, both for my own debugging and for telling people I try to help "you're gonna have to start over and do X or this will take hours longer".