pxe-stack/git-alpine/entrypoint.sh
2023-07-21 11:53:52 +02:00

10 lines
No EOL
134 B
Bash

#!/bin/sh
if [ "$(ls -A /git)" ]; then
cd /git
git pull
else
git clone ${GIT_REPO_URL} /git
fi
echo "finished, exit now"