How to set Architecture for docker build to arm64?
For building single docker images: Set your environment variable using the command line or modifying your .bashrc or .zshenv file. (introduced in v19.03.0 in 03/2019) export DOCKER_DEFAULT_PLATFORM=linux/arm64 Alternatively, in the Dockerfile, include the following flag in the FROM command (for a multi-stage Dockerfile build, the flag is only needed for the first stage): FROM –platform=linux/arm64 … Read more