2 ms·
If you use TinyGo, it may be possible to squeeze the binary and save a little more space. Furthermore, why even use Alpine if you're not using its package mana
by nateb2022 3y ago
If you use TinyGo, it may be possible to squeeze the binary and save a little more space.
Furthermore, why even use Alpine if you're not using its package management? Go distro-less and you could save a couple more MB: https://medium.com/inside-sumup/stop-using-alpine-docker-images-fbf122c63010 https://medium.com/inside-sumup/stop-using-alpine-docker-ima...
- BOrsk 3y agoTinyGo is for embedded devices and wasm runtimes, not a general compiler. It cannot compile large chunks of the standard library, even essential pieces like crypto/tls, net/http, net/smtp, os/user etc. See https://tinygo.org/docs/reference/lang-support/stdlib/ https://tinygo.org/docs/reference/lang-support/stdlib/ TinyGo is NOT a drop-in replacement and NOT intended as a general-purpose compiler.