mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 13:55:08 +00:00
ix(docker): ensure ARM64 compatibility by setting platform in base image
- Added `--platform=$BUILDPLATFORM` to `FROM` instruction in base stage - Prevents exec format errors during buildx bake for linux/arm64 - Improves support for multi-architecture builds (e.g., Apple Silicon, Raspberry Pi)
This commit is contained in:
parent
8e404464c3
commit
07daecdb06
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
ARG PYTHON_VERSION=3.11.6
|
||||
ARG DEBIAN_BASE=bookworm
|
||||
FROM python:${PYTHON_VERSION}-slim-${DEBIAN_BASE} AS base
|
||||
FROM --platform=$BUILDPLATFORM python:${PYTHON_VERSION}-slim-${DEBIAN_BASE} AS base
|
||||
|
||||
ARG WKHTMLTOPDF_VERSION=0.12.6.1-3
|
||||
ARG WKHTMLTOPDF_DISTRO=bookworm
|
||||
|
|
|
|||
Loading…
Reference in a new issue