From 52afab39cfbd38234aa9c69cd0e1554702c0d991 Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Tue, 29 Nov 2022 12:16:51 -0800 Subject: [PATCH] Organizes the system packages a little bit more --- Dockerfile | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8b562e73e..ac7cbc22a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -72,34 +72,37 @@ COPY --from=jbig2enc-builder /usr/src/jbig2enc/src/*.h /usr/local/include/ # Packages need for running ARG RUNTIME_PACKAGES="\ + # Python + python3 \ + python3-pip \ + python3-setuptools \ + # General utils curl \ - file \ + # Docker specific + gosu \ + # Timezones support + tzdata \ # fonts for text file thumbnail generation fonts-liberation \ gettext \ ghostscript \ gnupg \ - gosu \ icc-profiles-free \ imagemagick \ - media-types \ + # Image processing liblept5 \ - libpq5 \ - libxml2 \ liblcms2-2 \ libtiff5 \ - libxslt1.1 \ libfreetype6 \ libwebp6 \ libopenjp2-7 \ libimagequant0 \ libraqm0 \ - libgnutls30 \ libjpeg62-turbo \ - python3 \ - python3-pip \ - python3-setuptools \ + # PostgreSQL + libpq5 \ postgresql-client \ + # MySQL / MariaDB mariadb-client \ # For Numpy libatlas3-base \ @@ -110,13 +113,17 @@ ARG RUNTIME_PACKAGES="\ tesseract-ocr-fra \ tesseract-ocr-ita \ tesseract-ocr-spa \ - # Suggested for OCRmyPDF - pngquant \ - # Suggested for pikepdf - jbig2dec \ - tzdata \ unpaper \ + pngquant \ + # pikepdf / qpdf + jbig2dec \ + libxml2 \ + libxslt1.1 \ + libgnutls30 \ # Mime type detection + file \ + libmagic1 \ + media-types \ zlib1g \ # Barcode splitter libzbar0 \