Blame view

docker/PYROS_DOCKER_BUILD.sh 280 Bytes
3552b2ad   Alexis Koralewski   Add new shell scr...
1
2
3
4
5
6
7
8
9
10
11
12

[ ! -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