Dockerfile arm architecture #1892
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-11-28#1892
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
buildscripts/docker/Dockerfile.bionic
doesn't work on arm architecture (Apple M1, Raspberry Pi, ...).Update on how to deal with this:
export DOCKER_BUILDKIT=1
before runningdocker build
ARG TARGETARCH
just after the topFROM
TARGETARCH
argument into the command line when executing the command line manually$TARGETARCH
argument in the rest of the Dockerfile can be used to distinguish betweenamd64
andarm64
. I haven't tested other platforms.Dockerfile
syntax doesn't support branching, the way I found to do this is to have a per-architecture stage, for example