From 35a2d21d95dbb308b5cee39eb5d4761ac5dce57f Mon Sep 17 00:00:00 2001 From: Etienne Pallier Date: Mon, 18 Sep 2023 18:39:08 +0200 Subject: [PATCH] ajout commentaires dans Dockerfile... --- Dockerfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8b8015b..360a9a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,6 +29,7 @@ ARG uid ################ RUN apt-get update && apt-get upgrade -y + RUN DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata RUN apt-get install -y \ @@ -45,12 +46,15 @@ RUN apt-get install -y \ ################ # Python & pip # ################ + # For apt-add-repository : RUN apt-get install -y software-properties-common -# Needed for python 3.10 -RUN add-apt-repository ppa:deadsnakes/ppa # Needed for INDI RUN apt-add-repository ppa:mutlaqja/ppa + +# PYTHON +# Needed for python 3.10 +RUN apt-add-repository ppa:deadsnakes/ppa RUN apt-get install -y python3.10 RUN apt-get install -y python3.10-dev RUN apt-get install -y python3.10-distutils @@ -198,8 +202,8 @@ RUN python3.10 -m pip install --user setuptools==58 # - But we can at least use it to generate all the requirements*.txt files in a far better format RUN python3.10 -m pip install --user pip-tools -RUN pip-compile ./vendor/guitastro/install/requirements.in # Installing packages required for Guitastro +RUN pip-compile ./vendor/guitastro/install/requirements.in RUN python3.10 -m pip install --user -r ./vendor/guitastro/install/requirements.txt # Maybe unnecessary because same requirements as for pyros requirements_dev (?) #RUN pip install --user -r ./vendor/guitastro/install/requirements_dev.txt -- libgit2 0.21.2