shc icon indicating copy to clipboard operation
shc copied to clipboard

Full no dependency static binary

Open ddag opened this issue 8 months ago • 1 comments

Trying to build a docker distroless image where there is no sh. Is there a way to create a binary that includes sh ? When trying to run a shc binary inside a distroless container I get /bin/sh not found.

ddag avatar May 10 '25 13:05 ddag

If your script uses bash, you can try xbash

chenzhch avatar May 19 '25 09:05 chenzhch