Do not install recommends in Docker

This commit is contained in:
Alexandre Iooss 2020-09-01 21:13:45 +02:00
parent ebe9c62823
commit cdae654034
1 changed files with 4 additions and 2 deletions

View File

@ -5,12 +5,14 @@ ENV PYTHONUNBUFFERED 1
# Install Django, external apps, LaTeX and dependencies # Install Django, external apps, LaTeX and dependencies
RUN apt-get update && \ RUN apt-get update && \
apt-get install -t buster-backports -y python3-django python3-django-crispy-forms \ apt-get install --no-install-recommends -t buster-backports -y \
python3-django python3-django-crispy-forms \
python3-django-extensions python3-django-filters python3-django-polymorphic \ python3-django-extensions python3-django-filters python3-django-polymorphic \
python3-djangorestframework python3-django-cas-server python3-psycopg2 python3-pil \ python3-djangorestframework python3-django-cas-server python3-psycopg2 python3-pil \
python3-babel python3-lockfile python3-pip python3-phonenumbers ipython3 \ python3-babel python3-lockfile python3-pip python3-phonenumbers ipython3 \
python3-bs4 python3-setuptools \
uwsgi uwsgi-plugin-python3 \ uwsgi uwsgi-plugin-python3 \
texlive-latex-extra texlive-fonts-extra texlive-lang-french \ texlive-latex-extra texlive-fonts-extra texlive-lang-french lmodern texlive-fonts-recommended \
gettext libjs-bootstrap4 fonts-font-awesome && \ gettext libjs-bootstrap4 fonts-font-awesome && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*