1
0
mirror of https://github.com/newnius/YAO-Dockerfiles.git synced 2025-12-16 02:26:43 +00:00

add tf 1.14.0-gpu

This commit is contained in:
2019-12-24 15:12:59 +08:00
parent f330b9de88
commit da4b1990b1
3 changed files with 33 additions and 4 deletions

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 $@