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