Hacker News new | ask | show | jobs
by dharmab 1058 days ago
Generally with scratch images you build in a less weird environment, then copy your application's files into a scratch image.

https://docs.docker.com/build/guide/multi-stage/