From 11aa31b1b838a97b92adab73e19ae3d766b16750 Mon Sep 17 00:00:00 2001 From: Jenny <39961845+jennyfothergill@users.noreply.github.com> Date: Fri, 3 May 2024 12:55:54 -0600 Subject: [PATCH] Update dockerfile_cpu --- containers/dockerfile_cpu | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/containers/dockerfile_cpu b/containers/dockerfile_cpu index 8f98301..5cb63ef 100644 --- a/containers/dockerfile_cpu +++ b/containers/dockerfile_cpu @@ -1,7 +1,12 @@ -FROM mambaorg/micromamba:0.15.2 +FROM mambaorg/micromamba:1.4.1 -COPY --chown=micromamba:micromamba environment.yml /tmp/env.yml +ARG VERSION -RUN micromamba install -y -n base -f /tmp/env.yml && \ - micromamba install -y -n base -c conda-forge grits && \ +ENV PYTHONUNBUFFERED=1 + +COPY --chown=$MAMBA_USER:$MAMBA_USER environment.yml /tmp/env.yml + +RUN micromamba install -y -n base "grits==$VERSION" -f /tmp/env.yml && \ micromamba clean --all --yes + +ARG MAMBA_DOCKERFILE_ACTIVATE=1