File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,10 @@ FROM mcr.microsoft.com/devcontainers/miniconda:0-3
33# Copy environment.yml (if found) to a temp location so we update the environment. Also
44# copy "noop.txt" so the COPY instruction does not fail if no environment.yml exists.
55COPY environment.yml* .devcontainer/noop.txt /tmp/conda-tmp/
6- RUN if [ -f "/tmp/conda-tmp/environment.yml" ]; then umask 0002 && /opt/conda/bin/conda install -n base -c conda-forge mamba -y && /opt/conda/bin/mamba env update -n base -f /tmp/conda-tmp/environment.yml && /opt/conda/bin/mamba install -n base -c conda-forge ipywidgets watermark quilt3 -y; fi \
6+ COPY requirements_tests.txt* /tmp/conda-tmp/
7+ RUN if [ -f "/tmp/conda-tmp/environment.yml" ]; then umask 0002 && /opt/conda/bin/conda install -n base -c conda-forge mamba -y && \
8+ /opt/conda/bin/mamba env update -n base -f /tmp/conda-tmp/environment.yml && \
9+ /opt/conda/bin/mamba install -c conda-forge -n base --file /tmp/conda-tmp/requirements_tests.txt -y ; fi \
710 && rm -rf /tmp/conda-tmp
811
912# [Optional] Uncomment to install a different version of Python than the default
You can’t perform that action at this time.
0 commit comments