diff --git a/container.def b/container.def
index db16342a5b21acf1d0e32998ec347c1b816dbab1..c5c63e05c322b106169302b5c22610b27a7e1fdc 100644
--- a/container.def
+++ b/container.def
@@ -15,7 +15,7 @@ From: nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
     bash miniconda.sh -b -p /opt/conda
     rm miniconda.sh
     export PATH=/opt/conda/bin:$PATH
-    source /opt/conda/etc/profile.d/conda.sh # Non - interactive sessions we need this
+    . /opt/conda/etc/profile.d/conda.sh # Non - interactive sessions we need this
     conda init bash # For future interactive sessions, optional
     
     # Conda environment
@@ -29,7 +29,7 @@ From: nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
 %environment
     # Set some environment vars
     export PATH=/opt/conda/bin:$PATH
-    source /opt/conda/etc/profile.d/conda.sh
+    . /opt/conda/etc/profile.d/conda.sh
     conda activate gala
 
 %labels