From e2a61071137e9a94f197839e98e1d2334706282d Mon Sep 17 00:00:00 2001
From: Tru Huynh <tru@pasteur.fr>
Date: Thu, 2 Mar 2023 23:40:17 +0100
Subject: [PATCH] runscript! not post

---
 Singularity | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Singularity b/Singularity
index 0adbc0e..140e745 100644
--- a/Singularity
+++ b/Singularity
@@ -17,7 +17,7 @@ conda activate py310-pytorch-nightly  && \
 conda install -y pytorch pytorch-cuda=11.7 -c pytorch-nightly -c nvidia && \
 conda list --explicit > /conda-list--explicit.yml
 
-%post
+%runscript
 eval "$(conda shell.bash hook)"  && \
 conda activate py310-pytorch-nightly && \
 "$@"
-- 
GitLab