@@ -28,10 +28,6 @@ RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh &
2828 rm Miniconda3-latest-Linux-x86_64.sh
2929ENV PATH="$PATH:/miniconda/bin"
3030
31- # Set solver backend to mamba for speed
32- RUN conda install -n base conda-libmamba-solver && \
33- conda config --set solver libmamba
34-
3531# Set Bash as the default shell for following commands
3632SHELL ["/bin/bash" , "-c" ]
3733
@@ -44,10 +40,7 @@ RUN git clone --single-branch --branch main --depth 1 https://github.com/Reactio
4440
4541WORKDIR /rmg/RMG-Py
4642# build the conda environment
47- RUN conda env create --file environment.yml && \
48- conda install -c conda-forge julia=1.9.1 pyjulia>=0.6 && \
49- conda install -c rmg pyrms diffeqpy && \
50- conda clean --all --yes
43+ RUN conda env create --file environment.yml
5144
5245# This runs all subsequent commands inside the rmg_env conda environment
5346#
@@ -56,6 +49,10 @@ RUN conda env create --file environment.yml && \
5649# in a Dockerfile build script)
5750SHELL ["conda" , "run" , "--no-capture-output" , "-n" , "rmg_env" , "/bin/bash" , "-c" ]
5851
52+ RUN conda install -c conda-forge julia=1.9.1 pyjulia>=0.6 && \
53+ conda install -c rmg pyrms diffeqpy && \
54+ conda clean --all --yes
55+
5956# Set environment variables as directed in the RMG installation instructions
6057ENV RUNNER_CWD=/rmg
6158ENV PYTHONPATH="$RUNNER_CWD/RMG-Py:$PYTHONPATH"
0 commit comments