Hacker News new | ask | show | jobs
by jiehong 82 days ago
I'd recommend trying to get 1 package manager to handle all of it, like Brewfile [0].

> Docker/containers solve isolation, not tool installation. You do not want to run your editor, terminal, and CLI tools inside containers.

I'm not in agreement here. You can have a Dockerfile in which all tools get installed. You build it, and tag it with, let's say `proj-builder`.

Then you can run commands with a mounted volume like `docker run --volume $(pwd):/sources <tool call>`. And alias it.

[0]: https://docs.brew.sh/Brew-Bundle-and-Brewfile#types

1 comments

That's unwanted overhead IMO. And I definitely don't want to be running my regular stuff in containers; like I did a full disable and yank on snap so I never accidentally install anything with it. And every time I get into a situation where I have to reach for docker, I find that I suddenly have to be watching my disk space. Absolutely hate it.