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

add files

This commit is contained in:
2019-04-12 14:50:46 +08:00
parent e4f2fae114
commit 01b9c0a260
4 changed files with 43 additions and 0 deletions

14
base/bootstrap.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
if ! [[ -z "${repo}" ]]; then
if [[ -z "${branch}" ]]; then
git clone $repo workspace
else
git clone -b $branch $repo /workspace
fi
fi
cd /workspace
$@