]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Organizes the system packages a little bit more
authorTrenton H <797416+stumpylog@users.noreply.github.com>
Tue, 29 Nov 2022 20:16:51 +0000 (12:16 -0800)
committerTrenton H <797416+stumpylog@users.noreply.github.com>
Tue, 29 Nov 2022 21:46:04 +0000 (13:46 -0800)
Dockerfile

index 8b562e73e18eda04a161d4d531d7adaf9efbac3f..ac7cbc22aa466a3e27f6fada332dc3e727e0a96e 100644 (file)
@@ -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
+  unpaper \
   pngquant \
-  # Suggested for pikepdf
+  # pikepdf / qpdf
   jbig2dec \
-  tzdata \
-  unpaper \
+  libxml2 \
+  libxslt1.1 \
+  libgnutls30 \
   # Mime type detection
+  file \
+  libmagic1 \
+  media-types \
   zlib1g \
   # Barcode splitter
   libzbar0 \