From cdae654034901abb1a30d2fcd30f52ff836d4513 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Tue, 1 Sep 2020 21:13:45 +0200 Subject: [PATCH] Do not install recommends in Docker --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ef2531a0..bfe52392 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,12 +5,14 @@ ENV PYTHONUNBUFFERED 1 # Install Django, external apps, LaTeX and dependencies 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-djangorestframework python3-django-cas-server python3-psycopg2 python3-pil \ python3-babel python3-lockfile python3-pip python3-phonenumbers ipython3 \ + python3-bs4 python3-setuptools \ 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 && \ rm -rf /var/lib/apt/lists/*