this docker container could've been a shell script
Graham Sutherland / Polynomial
this docker container could've been a shell script 27 comments
Graham Sutherland / Polynomial
@dysfun SO OFTEN THE CASE. dead simple CLI apps with like two library dependencies wrapped in a whole-ass docker container
extreme organic gay
@gsuberland i would just like to know what is in these docker containers CI relies on but i can't find the sources. and i apparently don't have access to the compiled containers.
Christopher Wood
@gsuberland @dysfun Well you can install any height of trash fire in a container but the instant you propose just a new thing under /opt/vendor instead of /usr/companyname/opt/local it's all "but can we support this strange new directory structure you are suggesting and what even are the security implications".
Christian Vogel
@dysfun @gsuberland Do you want the Busybox, Alpine, Ubuntu/Debian, Centos or OpenSuse-based version of your shellscript-in-a-container?
Ariel Richtman
@vogelchr @dysfun @gsuberland oh hai, are we talking about the fact that 90% of Docker is imperative RUN?
Pxl Phile
@gsuberland and yet better distributable for a given complexity IMO. I vividly recall the drama about jq versions and it's API changes 😤 to only name one aspect. I concur with rreeaaalllyy simple scripts though
Ciaran McNulty
@gsuberland If the only dependency is bash, sure ... and you know the exact target bash version
Christopher Wood
@ciaran @gsuberland Better have a few sprints dedicated to the pipeline building out the bash source build and unit/acceptance tests so we can be sure this shell script will have the right dependencies.
cow99
@gsuberland this build pipeline that starts the container that could have been a shell script could have been a Cron line
Luke Browell 💡
@gsuberland A day may come when the containers of Men fails, when we forsake our bash and break all bonds of keystroke, but it is not this day.
Philip Mallegol-Hansen
@gsuberland @linux_mclinuxface This whole damn Kubernetes cluster probably could have been too.
Christopher Wood
Is this a Bash shell script, C shell script, Dash shell script, Korn shell script, Z shell script? Or a shell script written in a specific defunct Unix vendor's custom version of a Bourne shell sold only to our company in 1982 and we can't find hardware for that box on Ebay anymore and the numbers don't work if we budget anything to port this?
Scott Michaud
@gsuberland And sometimes the shell script could have been a python/C#/whatever script. |
@gsuberland in fact it is a shell script, wrapped in a docker container