Commit 35a2d21d95dbb308b5cee39eb5d4761ac5dce57f

Authored by Etienne Pallier
1 parent 0861a483
Exists in dev

ajout commentaires dans Dockerfile...

Showing 1 changed file with 7 additions and 3 deletions   Show diff stats
Dockerfile
... ... @@ -29,6 +29,7 @@ ARG uid
29 29 ################
30 30  
31 31 RUN apt-get update && apt-get upgrade -y
  32 +
32 33 RUN DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata
33 34  
34 35 RUN apt-get install -y \
... ... @@ -45,12 +46,15 @@ RUN apt-get install -y \
45 46 ################
46 47 # Python & pip #
47 48 ################
  49 +
48 50 # For apt-add-repository :
49 51 RUN apt-get install -y software-properties-common
50   -# Needed for python 3.10
51   -RUN add-apt-repository ppa:deadsnakes/ppa
52 52 # Needed for INDI
53 53 RUN apt-add-repository ppa:mutlaqja/ppa
  54 +
  55 +# PYTHON
  56 +# Needed for python 3.10
  57 +RUN apt-add-repository ppa:deadsnakes/ppa
54 58 RUN apt-get install -y python3.10
55 59 RUN apt-get install -y python3.10-dev
56 60 RUN apt-get install -y python3.10-distutils
... ... @@ -198,8 +202,8 @@ RUN python3.10 -m pip install --user setuptools==58
198 202 # - But we can at least use it to generate all the requirements*.txt files in a far better format
199 203 RUN python3.10 -m pip install --user pip-tools
200 204  
201   -RUN pip-compile ./vendor/guitastro/install/requirements.in
202 205 # Installing packages required for Guitastro
  206 +RUN pip-compile ./vendor/guitastro/install/requirements.in
203 207 RUN python3.10 -m pip install --user -r ./vendor/guitastro/install/requirements.txt
204 208 # Maybe unnecessary because same requirements as for pyros requirements_dev (?)
205 209 #RUN pip install --user -r ./vendor/guitastro/install/requirements_dev.txt
... ...