EESSI / software-layer

Software layer of the EESSI project
https://eessi.github.io/docs/software_layer
GNU General Public License v2.0
24 stars 47 forks source link

Pass through CVMFS config to build container #234

Open ocaisa opened 1 year ago

ocaisa commented 1 year ago

IF a CVMFS configuration exists on the node being used for the build container, it should be used by the container as well

bedroge commented 1 year ago

That's a good idea, and I've actually done that with a similar build container for our local CVMFS-based stack, but you have to be really careful w.r.t. which items you want/can reuse in the container. For instance, at some point I was reusing the proxy that was defined on our compute nodes, but the proxy was only configured for another CVMFS-based project, leading to confusing errors inside the container.

ocaisa commented 1 year ago

Maybe the easiest thing is to just add a flag (which is not set by default) that does this blindly (or bind mounts a custom configuration file)

trz42 commented 1 year ago

The eessi_container.sh script could be improved by allowing different ways to specify the target repository: