Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ulzeraj
on April 22, 2021
|
parent
|
context
|
favorite
| on:
Tiny Container Challenge: Building a 6kB Container...
So Go binaries should also work right?
onei
on April 22, 2021
|
next
[–]
Go binaries that are statically linked work great in scratch images. If you or your dependencies start dynamically linking against libraries then they don't so much, but that's relatively unusual in my experience.
raesene9
on April 22, 2021
|
prev
[–]
yeah I've seen statically compiled go binaries in scratch base images before, seems to work fine.
If you need some basic OS files, Google's distroless is another option.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: