3 ms·
I started to make something similar with Node, since I wanted to use Node to make containers rather than shell scripts (I don't think learning shell scripts sho
by benatkin 8y ago
I started to make something similar with Node, since I wanted to use Node to make containers rather than shell scripts (I don't think learning shell scripts should be a prereq for NoOps). Unfortunately I got distracted, before I eliminated the need for a Dockerfile (it had a wrapper Dockerfile that ran npm scripts) https://github.com/diodejs/dev/blob/master/Dockerfile https://github.com/diodejs/dev/blob/master/Dockerfile
It's based on a plain alpine container, with the idea that you can run `apk remove node` when you're done to clean it up if you don't need node once the container is built.
A lot of people are missing that this is really about replacing shell scripts with Maven or Gradle. You can still build a fat JAR.
- jacques_chester 8y agoGoogle have also done work on the more general idea of "read dependencies to layout containers", under the title FTL. I would give you a link but it is a maddeningly ungoogleable name.