Adds the build platform flag to specific this is a single arch image

This commit is contained in:
Trenton Holmes
2023-01-24 19:38:44 -08:00
parent d4757eb2dc
commit 01297aa99b
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
ARG REPO="paperless-ngx/paperless-ngx"
ARG QPDF_VERSION
FROM ghcr.io/${REPO}/builder/qpdf:${QPDF_VERSION} as qpdf-builder
FROM --platform=$BUILDPLATFORM ghcr.io/${REPO}/builder/qpdf:${QPDF_VERSION} as qpdf-builder
# This does nothing, except provide a name for a copy below