Add new tensorflow def

parent ab2d4204
# author: Lars Haalck
Bootstrap: docker
From: tensorflow/tensorflow:latest-gpu-py3
From: tensorflow/tensorflow:2.2.0-gpu
%environment
export LC_ALL=C
%post
%post
apt-get -y update
apt-get install -y --no-install-recommends \
graphviz \
python3-networkx \
python3-pydot \
python3-scipy
python3 -m pip install \
opencv-contrib-python \
pillow \
scikit-learn \
keras
matplotlib \
tensorflow_io \
tensorboard
python3 -m pip install virtualenvwrapper
rm -rf /var/lib/apt/lists/*
......@@ -26,8 +23,7 @@ From: tensorflow/tensorflow:latest-gpu-py3
export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3 && \\
. /usr/local/bin/virtualenvwrapper.sh && \\
echo "You can use virtualenvwrapper" || \\
echo "You cannot use virtualenvwrapper, does \$SINGULARITY_HOME exist?"' >> /etc/bash.bashrc
echo "You cannot use virtualenvwrapper, does \$SINGULARITY_HOME exist?"' >> /etc/bash.bashrc
mkdir /data
......
Markdown is supported
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