1
0
mirror of https://github.com/newnius/YAO-Dockerfiles.git synced 2025-06-07 16:21:56 +00:00
YAO-Dockerfiles/base/bootstrap.sh

15 lines
182 B
Bash
Raw Normal View History

2019-04-12 06:50:46 +00:00
#!/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
$@