Hi Jonathan,
if you create a Singularity container natively, you can add environment
variables in your Singularity file with the enironment flag, e.g.
%environment
MYFOOVAR="somevalue"
MYBAZVAR=23
Else, if you have imported a container from Docker or so, you maybe can
trick it by creating a sandboxed version and add an env-script to
yoursandbox.d/.singularity.d/env/99-mystuff.sh
(there should be a hidden .singularity/ directory in a container, where
Singularity keeps its info)
Cheers,
Thomas
> --
> You received this message because you are subscribed to the Google
> Groups "singularity" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
singularity...@lbl.gov
> <mailto:
singularity...@lbl.gov>.