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