Re:A lesson in dockerizing shell scripts
by renewiltord on Saturday February 03, 2024 @10:43AM
(#39241370)
How does removing the shebang save two megabytes? Seems like a lot. Is it the env binary?
[ Parent
| on HN ]
Re:A lesson in dockerizing shell scripts
by bhupesh on Saturday February 03, 2024 @11:43AM
(#39242013)
Yes, the size of env closes to 2mb. I maybe wrong here, though. Seems something is wrong.
I wasn't able to dig deep enough on why that was the case, considering the "env" utility was coming from busybox which on copy averages close to 900Kb.