3 ms·
There are a lot of tools that simply can't run distroless and adding in all the requirements is often tedious with little reward.
by encryptluks2 5y ago
There are a lot of tools that simply can't run distroless and adding in all the requirements is often tedious with little reward.
- bogomipz 5y agoWhat are some of the tools that can't run on distroless?
- encryptluks2 5y agoAnything that relies on system libraries. This works fine for most Go apps, but can have unexpected results if you don't compile the app correctly to use Go networking and what not.
- bogomipz 5y agoI see. Regarding Go, how would forget to import the Go net and http packages for your app? I would think your compilation itself would fail to begin with. Or are you referring to something else?
- encryptluks2 5y agoIn my time building Go apps in the past, you'd need to specify the netgo tag and others. Not sure if this is necessary anymore, but I can think of a few Go packages that require CGO and what not that will not work using a scratch image.