News for hackers. Stuff that matters.
Re:A lesson in dockerizing shell scripts by parhamn on Saturday February 03, 2024 @03:54PM (#39244641)
> That is _insanely_ shortsighted.

Relax. While I wouldn't recommend OPs approach either. But you're not particularly right either.

Exodus clearly states:

> Exodus is a tool that makes it easy to successfully relocate Linux ELF binaries from one system to another... Server-oriented distributions tend to have more limited and outdated packages than desktop distributions, so it's fairly common that one might have a piece of software installed on their laptop that they can't easily install on a remote machine.

Exodus is specifically designed for moving between different systems.

He is largely moving from the same base image. In the article base layer is `alpine:3.18` and the target image is `alpine:3.18` and in the latter part of the article `scratch` (likely less conflict surface). One would assume those two would be coupled.

There are other technical merits to not doing what he's doing but you haven't listed any and dismissed his work. I'd venture if you actually knew what you're talking about you'd have better things to add to this conversation than "OS package managers handle dependencies for a reason."

Perhaps next time give some feedback that would help the writer get closer to a well-working exodus like solution. It's hackernews, "dont roll your own" discouragement should be frowned upon.

Re:A lesson in dockerizing shell scripts by gbN025tt2Z1E2E4 on Saturday February 03, 2024 @04:12PM (#39244794)
Chastise me when you actually have the knowledge to give you the right to do so. You clearly do not have that knowledge. He is overwriting without regard bin and lib files in primary OS bin and lib folders without regard for the impact of that action on the operation of the OS itself. That you don't realize the _insane_ shortsightedness of that shows you have ZERO understanding of that which you speak.
Re:A lesson in dockerizing shell scripts by TJSomething on Saturday February 03, 2024 @04:40PM (#39245012)
Overwriting what? The destination's a completely empty root.