1
0
mirror of https://github.com/newnius/YAO-Dockerfiles.git synced 2025-12-13 09:36:43 +00:00

add tf 2.1

This commit is contained in:
2020-01-13 20:45:52 +08:00
parent 298bd94998
commit 05480f249a
2 changed files with 34 additions and 0 deletions

19
tensorflow/2.1-gpu/bootstrap.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
if ! [[ -z "${repo}" ]]; then
if [[ -z "${branch}" ]]; then
git clone $repo /workspace
else
git clone -b $branch $repo /workspace
fi
fi
if [ -d /workspace ]; then
cd /workspace
fi
sleep infinity
# use eval because commands likes `key=value command` would cause file not found error when using $@, but this eval will ruin current environment
eval $@