Cleanup miniconda caches after environment is created

There is no sense to ship caches and downloaded archives in the container.
Cleaning it will save about 500Mb
This commit is contained in:
Alexander D. Kanevskiy
2019-03-13 19:46:08 +02:00
committed by George T Kramer
parent 230cba5536
commit bc8a86dff8
+1 -1
View File
@@ -13,7 +13,7 @@ mkdir -p /etc/profile.d && \
source ~/.bashrc
# create an env and install Tensorflow
echo "Installing Tensorflow with MKL..."
conda create -y -n tf_env tensorflow nltk && \
conda create -y -n tf_env tensorflow nltk && conda clean --all -y && \
echo "export PATH=/opt/conda/envs/tf_env/bin:$PATH" >> ~/.bashrc && \
echo "conda activate tf_env" >> ~/.bashrc
ln -s -f /opt/conda/envs/tf_env/bin/python /usr/bin/python