PYROS_DOCKER_BUILD.sh
280 Bytes
[ ! -d "../vendor/guitastro/" ] && git clone https://gitlab.irap.omp.eu/guitastrolib/guitastro.git ../vendor/guitastro/
export CURRENT_UID=$(id -u)
if [ $CURRENT_UID -eq 0 ]
then
echo "You can't run this script as root, use a normal user"
exit 1
else
docker-compose build
fi