logoalt Hacker News

elmolino89last Friday at 8:40 PM1 replyview on HN

Frankly I have a problem with one of your problem as described. Who on the planet Earth creates a container with GCC, may I guess, to compile programs? and then complains about make being located in another container. If you miss some utility just convert the apptainer container to a sandbox, install utilities you need and convert the sandbox to .sif as needed.

Also the whole point of building the program using compilers/libraries in the container is to use such container to run the aforementioned program in that very environment and not worry about libraryX or utility Y not installed in some box in a galaxy far, far away...


Replies

IshKebablast Friday at 9:32 PM

> Also the whole point of building the program using compilers/libraries in the container is to use such container to run the aforementioned program in that very environment

Says who? That's only because that's the only way it works, not because it's desirable to only work like that.

The only way Apptainers work well is if you put everything you need in one Apptainer, which makes them much less useful than you might imagine.