3 ms·
For a regular developer like myself, Docker is awesome and it's way better than finding the right incantation deep down in shell scripts and Makefiles. It does
by doliveira 5y ago
For a regular developer like myself, Docker is awesome and it's way better than finding the right incantation deep down in shell scripts and Makefiles. It does seem like it solves problems we shouldn't be having anymore in 2021. But I guess that's the solution for decades of fragmentation and no attention for us non-wizards. Same thing with systemd.
> Of course it requires apt! Because not only we all run Linux, be we all run a specific distribution of Linux with a specific package manager.
At least this code actually spells out the packages it requires and makes it easier to look up the equivalent for yum or apk. I've struggled so much trying to find the right dependency to install before a supposedly simple ./configure, make, make install...
> First of all, let’s talk about the fact that this Makefile is used as a… script. There’s no dependencies in the targets!
As a sidenote, I actually like this style of Makefiles. No need to assume execution permission, and quite frankly it is easier to parse visually than a shell script with if's, case's and getopt.