From d210e822cdc53541a6117f431acbc5addcdc7eb4 Mon Sep 17 00:00:00 2001 From: Jason Boutte Date: Thu, 8 Aug 2024 23:31:21 -0700 Subject: [PATCH] Fixes creating environment --- docker/entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 4fab62706be..808c08bc725 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -135,7 +135,8 @@ then fi function create_environment() { - mamba create -n cime-$1 --file /cime.yaml python=$1 + mamba create -n cime-$1 python=$1 + mamba env update -n cime-$1 -f /cime.yaml source /opt/conda/etc/profile.d/conda.sh