sbt / sbt-native-packager

sbt Native Packager
https://sbt-native-packager.readthedocs.io/en/stable/
BSD 2-Clause "Simplified" License
1.59k stars 439 forks source link

Option to enable Docker buildkit #1518

Closed jroper closed 5 months ago

jroper commented 2 years ago

Docker buildkit can be enabled by setting the environment variable DOCKER_BUILDKIT to 1. Sometimes, someone might be using buildkit features as part of the build, and need this to always be enabled. It would be great if sbt native packager could provide an option to enabled this automatically (ie, by setting that environment variable when it runs docker).

muuki88 commented 1 year ago

That sounds useful ☺️ happy to merge a PR 🤗