mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-07-08 21:45:51 +00:00
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:
committed by
George T Kramer
parent
230cba5536
commit
bc8a86dff8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user