Commit aa66d59c0f45dcb93c20741db13655f230fb8e6c

Authored by Etienne Pallier
1 parent b1e4e4dd
Exists in dev

comments in docker files

Showing 2 changed files with 9 additions and 6 deletions   Show diff stats
docker/Dockerfile
... ... @@ -106,6 +106,8 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 487CEC2B3F
106 106 #RUN apt-key adv --keyserver http://ppa.launchpad.net/mutlaqja/ppa/ubuntu/dists/jammy --recv-keys 487CEC2B3F33A288
107 107 #RUN apt-key adv --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys 487CEC2B3F33A288
108 108 #10 1.751 E: The repository 'http://ppa.launchpad.net/mutlaqja/ppa/ubuntu jammy InRelease' is not signed.
  109 +
  110 +# INDI
109 111 RUN apt-get update
110 112 RUN apt-get install -y indi-full
111 113 RUN apt-get install -y kstars-bleeding libindi1 indi-bin swig libz3-dev libcfitsio-dev libnova-dev libindi-dev
... ...
docker/PYROS_DOCKER_BUILD
... ... @@ -4,11 +4,12 @@
4 4  
5 5 export CURRENT_UID=$(id -u)
6 6  
7   -if [ $CURRENT_UID -eq 0 ]
8   -then
9   -echo "You can't run this script as root, use a normal user"
10   -exit 1
11   -else
12   -docker compose build
  7 +# exit if root
  8 +if [ $CURRENT_UID -eq 0 ] ; then
  9 + echo "You can't run this script as root, use a normal user"
  10 + exit 1
13 11 fi
14 12  
  13 +# BUILD
  14 +docker compose build
  15 +
... ...