4 ms·
If I may ask, why do you only have sh in production?
by kdmccormick 4y ago
If I may ask, why do you only have sh in production?
- Cpoll 4y agoA common containerization philosophy is to use a bare-minimum base image and add only what you need. Something like an Alpine container doesn't come with Bash.
- 0xbadcafebee 4y agoAlpine docker container only comes with ash shell by default. If you don't use any Bash-isms, you can just write a POSIX shell script. Otherwise if you have many containers from many different sources, you might have to bake all new containers just to add Bash to them.
- Cerium 4y agoIn this case production is a fleet of embedded devices.