Y
Hacker News
new
|
ask
|
show
|
jobs
by
marwatk
1608 days ago
We drop a statically compiled BusyBox binary on images like that as "sh". If we need more we can symlink to it in /tmp at debug time (or just call it directly). It strikes a good balance between slim and debuggable.
2 comments
ed25519FUUU
1608 days ago
Do you do this during build time or debug time?
link
neomantra
1608 days ago
Been using containers and fighting this problem for a long time... I never thought of this simple solution, thank you for sharing it!
link