Email or username:

Password:

Forgot your password?
Graham Spookyland🎃/Polynomial

this docker container could've been a shell script

27 comments
gaytabase

@gsuberland in fact it is a shell script, wrapped in a docker container

Graham Spookyland🎃/Polynomial

@dysfun SO OFTEN THE CASE.

dead simple CLI apps with like two library dependencies wrapped in a whole-ass docker container

gaytabase

@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?

Scarred and Terraformed

@vogelchr @dysfun @gsuberland oh hai, are we talking about the fact that 90% of Docker is imperative RUN?

EffJot

@uvolmer @gsuberland "schaas" in österreichischen Akzent lesen. 💩 Passt!

Alper Çuğun-Gscheidel

@gsuberland This docker container could have been a Nix flake.

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.

Simon Green

@gsuberland We containerise because we can not because it helps!

Dragon

@gsuberland bonus points if it actually is a shell script in a docker container ;)

Tachikoma

@gsuberland That's not enterprise ready. Make it a multi pod k8s deployment!

cow99

@gsuberland this build pipeline that starts the container that could have been a shell script could have been a Cron line

Sid (谷思谛) 🐺 soon @38C3

@gsuberland this curl | bash could have been a deb/rpm/pacman package

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.

Christopher Wood

@gsuberland

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.

Go Up