Commit d298103c authored by Joseph Weston's avatar Joseph Weston
Browse files

combine conda install with conda clean

parent c4ff6b2b
......@@ -40,8 +40,9 @@ COPY profile.sh /etc/profile.d/
RUN mkdir /environments
COPY machine-learning.yml /environments/
# Update the root environment
RUN conda env update -n root -f /environments/machine-learning.yml
# Update the root environment and clean all downloaded conda files
RUN conda env update -n root -f /environments/machine-learning.yml && \
conda clean --yes --all
# Enable `jupyter nbextension`s
RUN jupyter nbextension enable --py --sys-prefix ipyparallel && \
......@@ -71,9 +72,6 @@ ENV OPENBLAS_NUM_THREADS=1\
MKL_NUM_THREADS=1\
CONDA_ALWAYS_COPY=true
# Cleanup all downloaded conda files
RUN conda clean --yes --all
# Fix permissions (required when following the base image)
RUN fix-permissions /opt/conda
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment