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:
14
base/bootstrap.sh
Executable file
14
base/bootstrap.sh
Executable 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
|
||||
|
||||
$@
|
||||
|
||||
Reference in New Issue
Block a user