Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
marwatk
· 4y ago · 0 comments
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.
Comments
[–]
ed25519FUUU
4y ago
Do you do this during build time or debug time?
[–]
neomantra
4y ago
Been using containers and fighting this problem for a long time... I never thought of this simple solution, thank you for sharing it!