From aa66d59c0f45dcb93c20741db13655f230fb8e6c Mon Sep 17 00:00:00 2001 From: Etienne Pallier Date: Fri, 6 Oct 2023 11:38:44 +0200 Subject: [PATCH] comments in docker files --- docker/Dockerfile | 2 ++ docker/PYROS_DOCKER_BUILD | 13 +++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 7f2f9a9..140e1d1 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -106,6 +106,8 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 487CEC2B3F #RUN apt-key adv --keyserver http://ppa.launchpad.net/mutlaqja/ppa/ubuntu/dists/jammy --recv-keys 487CEC2B3F33A288 #RUN apt-key adv --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys 487CEC2B3F33A288 #10 1.751 E: The repository 'http://ppa.launchpad.net/mutlaqja/ppa/ubuntu jammy InRelease' is not signed. + +# INDI RUN apt-get update RUN apt-get install -y indi-full RUN apt-get install -y kstars-bleeding libindi1 indi-bin swig libz3-dev libcfitsio-dev libnova-dev libindi-dev diff --git a/docker/PYROS_DOCKER_BUILD b/docker/PYROS_DOCKER_BUILD index da3f587..e9b15ef 100755 --- a/docker/PYROS_DOCKER_BUILD +++ b/docker/PYROS_DOCKER_BUILD @@ -4,11 +4,12 @@ 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 +# 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 + -- libgit2 0.21.2