]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Trims libraries which are baked into the wheels we use, no need for them on the system
authorTrenton Holmes <797416+stumpylog@users.noreply.github.com>
Sat, 9 Sep 2023 23:08:00 +0000 (16:08 -0700)
committerTrenton H <797416+stumpylog@users.noreply.github.com>
Thu, 14 Sep 2023 17:36:15 +0000 (10:36 -0700)
Dockerfile

index 59f190ade72224ec75f257d871cb9c58988d3f7e..9435678643de87d6e7c601f86774ad1003206139 100644 (file)
@@ -67,23 +67,11 @@ ARG RUNTIME_PACKAGES="\
   gnupg \
   icc-profiles-free \
   imagemagick \
-  # Image processing
-  liblept5 \
-  liblcms2-2 \
-  libtiff6 \
-  libfreetype6 \
-  libwebp7 \
-  libopenjp2-7 \
-  libimagequant0 \
-  libraqm0 \
-  libjpeg62-turbo \
   # PostgreSQL
   libpq5 \
   postgresql-client \
   # MySQL / MariaDB
   mariadb-client \
-  # For Numpy
-  libatlas3-base \
   # OCRmyPDF dependencies
   tesseract-ocr \
   tesseract-ocr-eng \
@@ -93,12 +81,11 @@ ARG RUNTIME_PACKAGES="\
   tesseract-ocr-spa \
   unpaper \
   pngquant \
-  # pikepdf / qpdf
   jbig2dec \
+  # lxml
   libxml2 \
   libxslt1.1 \
-  libgnutls30 \
-  libqpdf29 \
+  # itself
   qpdf \
   # Mime type detection
   file \
@@ -107,9 +94,7 @@ ARG RUNTIME_PACKAGES="\
   zlib1g \
   # Barcode splitter
   libzbar0 \
-  poppler-utils \
-  # RapidFuzz on armv7
-  libatomic1"
+  poppler-utils"
 
 # Install basic runtime packages.
 # These change very infrequently