A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Fixes missing lxml and tweaks commenting
Trenton Holmes66b60654d988
diff --git a/build-docker-image.sh b/build-docker-image.shindex c7411d962..c43c9886b 100755--- a/build-docker-image.sh+++ b/build-docker-image.sh@@ -24,6 +24,7 @@ fipikepdf_version=$(jq ".default.pikepdf.version" Pipfile.lock | sed 's/=//g' | sed 's/"//g')psycopg2_version=$(jq ".default.psycopg2.version" Pipfile.lock | sed 's/=//g' | sed 's/"//g')pillow_version=$(jq ".default.pillow.version" Pipfile.lock | sed 's/=//g' | sed 's/"//g')+lxml_version=$(jq ".default.lxml.version" Pipfile.lock | sed 's/=//g' | sed 's/"//g')# Read this from the other config fileqpdf_version=$(jq ".qpdf.version" .build-config.json | sed 's/"//g')jbig2enc_version=$(jq ".jbig2enc.version" .build-config.json | sed 's/"//g')@@ -42,4 +43,5 @@ docker build --file "$1" \--build-arg QPDF_VERSION="${qpdf_version}" \--build-arg PIKEPDF_VERSION="${pikepdf_version}" \--build-arg PILLOW_VERSION="${pillow_version}" \+ --build-arg LXML_VERSION="${lxml_version}" \--build-arg PSYCOPG2_VERSION="${psycopg2_version}" "${@:2}" .diff --git a/docker-builders/Dockerfile.pikepdf b/docker-builders/Dockerfile.pikepdfindex 4248bd334..2594f71f5 100644--- a/docker-builders/Dockerfile.pikepdf+++ b/docker-builders/Dockerfile.pikepdf@@ -18,7 +18,7 @@ LABEL org.opencontainers.image.description="A intermediate image with pikepdf whARG DEBIAN_FRONTEND=noninteractiveARG PIKEPDF_VERSION-# These not not used, but will still bust the cache if one changes+# These are not used, but will still bust the cache if one changes# Otherwise, the main image will try to build thing (and fail)ARG PILLOW_VERSIONARG LXML_VERSION