Hacker News new | ask | show | jobs
by ndsipa_pomu 1126 days ago
> python3 is almost universally available on distros that are not minified deliberately (containers)

Writing control scripts for use inside containers is currently my biggest application of BASH scripts. What makes BASH (or other shells) handy is the lack of supporting files that are needed - just copy in the script and you're ready to go.

1 comments

I was going to say something similar. I try to avoid adding anything to my final images. Each extra dependency is something else to update, more surface areas for attacks, another thing to justify, etc. Much rather just use the slimmest base and the tools already available.