Skip to content

Commit 39b6fb5

Browse files
🚑️ Fix Zxing for ARM (#232)
1 parent e2576f2 commit 39b6fb5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

paperless-ngx/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ ARG TARGETARCH
8989
ARG JBIG2ENC_VERSION=0.29
9090
ARG QPDF_VERSION=11.9.0
9191
ARG GS_VERSION=10.03.1
92+
ARG ZXING_VERSION=2.3.0
9293

9394
# Set Python environment variables
9495
ENV PYTHONDONTWRITEBYTECODE=1 \
@@ -170,10 +171,9 @@ RUN --mount=type=cache,target=/root/.cache/uv/,id=uv-cache \
170171
&& uv pip install --system --no-cache-dir --upgrade wheel \
171172
&& echo "Installing ZXing" \
172173
&& curl --fail --silent --no-progress-meter --show-error --location --remote-name-all --parallel --parallel-max 4 \
173-
https://github.com/paperless-ngx/builder/releases/download/psycopg-3.2.4/psycopg_c-3.2.4-cp312-cp312-linux_x86_64.whl \
174-
https://github.com/paperless-ngx/builder/releases/download/psycopg-3.2.4/psycopg_c-3.2.4-cp312-cp312-linux_aarch64.whl \
175-
https://github.com/paperless-ngx/builder/releases/download/zxing-2.3.0/zxing_cpp-2.3.0-cp312-cp312-linux_aarch64.whl \
176-
https://github.com/paperless-ngx/builder/releases/download/zxing-2.3.0/zxing_cpp-2.3.0-cp312-cp312-linux_x86_64.whl \
174+
https://github.com/BenoitAnastay/paperless-builder/releases/download/v2.3.0/zxing_cpp-2.3.0-cp311-cp311-linux_aarch64.whl \
175+
https://github.com/BenoitAnastay/paperless-builder/releases/download/v2.3.0/zxing_cpp-2.3.0-cp311-cp311-linux_x86_64.whl \
176+
&& uv pip install --system --find-links . zxing-cpp==${ZXING_VERSION} \
177177
&& echo "Installing Python requirements" \
178178
&& uv pip install --system --find-links . --requirement requirements.txt \
179179
&& echo "Installing NLTK data" \

0 commit comments

Comments
 (0)