Trims libraries which are baked into the wheels we use, no need for them on the system

This commit is contained in:
Trenton Holmes 2023-09-09 16:08:00 -07:00 committed by Trenton H
parent a46bfc8b5f
commit 5fce21e269

View File

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