We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67521de commit 7c67c2dCopy full SHA for 7c67c2d
Dockerfile
@@ -88,8 +88,7 @@ RUN python rmg.py examples/rmg/rms_constant_V/input.py
88
RUN rm -rf examples/rmg/rms_constant_V/* && \
89
git checkout -- examples/rmg/rms_constant_V/
90
91
-# when running this image, open an interactive bash terminal inside the conda environment
92
-RUN conda init
93
-RUN echo "conda activate rmg_env" >> ~/.bashrc
+# when running this image, open an interactive bash terminal inside the rmg_env conda environment
+RUN sed -i '/\. \/opt\/conda\/etc\/profile.d\/conda.sh && conda activate base/c\. /opt/conda/etc/profile.d/conda.sh && conda activate rmg_env' ~/.bashrc
94
ENTRYPOINT ["/bin/bash", "--login"]
95
0 commit comments