From b619ac3126b12477333134a541076e4da3234d22 Mon Sep 17 00:00:00 2001 From: Tru Huynh <tru@pasteur.fr> Date: Thu, 2 Mar 2023 23:38:42 +0100 Subject: [PATCH] runscript! not post --- Singularity | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Singularity b/Singularity index 71eeed4..75af989 100644 --- a/Singularity +++ b/Singularity @@ -18,7 +18,7 @@ curl https://gitlab.pasteur.fr/tru/miniconda3-python310-pytorch-cuda11.7/-/raw/m conda list --explicit > /conda-list--explicit.yml && \ conda clean --all --yes -%post +%runscript eval "$(conda shell.bash hook)" && \ conda activate py310-pytorch-1.13.1 && \ "$@" -- GitLab