1
0
mirror of https://github.com/newnius/YAO-Dockerfiles.git synced 2025-06-07 08:11:56 +00:00
YAO-Dockerfiles/base/bootstrap.sh
2019-04-12 14:50:46 +08:00

15 lines
182 B
Bash
Executable File

#!/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
$@