vscoding / docker-entrypoint.sh
lancelotly's picture
Create docker-entrypoint.sh
54c1e09 verified
raw
history blame
401 Bytes
#!/bin/bash
if [ -n "$GIT_CLONE_REPOS" ]; then
echo "$GIT_CLONE_REPOS"
git config --global user.email "$GIT_USER"
git config --global user.name "$GIT_NAME"
git clone $GIT_CLONE_REPOS
# GIT_CLONE_REPOS secreat should be like https://github.com/user1/repo1.git \
# https://github.com/user2/repo2.git \
# https://github.com/user3/repo3.git
else
echo "No git repos requests detected."
fi