Skip to content
Snippets Groups Projects

Use mamba when setting the conda environment in the testing container

Merged Borreguero Calvo, Jose requested to merge buildtestimage_fails into next
+ 2
2
@@ -8,7 +8,7 @@ RUN conda update --name base -c defaults conda
# downgrade to python 3.8 - this must match src/environment.yml to be useful
#RUN conda install --name base -c conda-forge python=3.8 mamba>=0.22.1 pip
RUN conda install -y -c conda-forge python=3.8 pip coverage make sphinx pre-commit
RUN conda install -y -c conda-forge mamba>=0.22.1 python=3.8
ARG TWINE_USERNAME
ARG TWINE_REPO
@@ -24,5 +24,5 @@ WORKDIR ${APP_DIR}
COPY . .
# install the dependencies
RUN conda env update --name base --file src/environment.yml
RUN mamba env update --name base --file src/environment.yml
RUN cd src && conda develop .
Loading