wofferl / proxmox-backup-arm64

Script for building Proxmox Backup Server 3.x (Bookworm) for Armbian64
151 stars 12 forks source link

Support crosscompilation via docker buildx #31

Closed heikok88 closed 1 year ago

heikok88 commented 1 year ago

Hello, thank you for your work. I want to crosscompile the project without the need to setup qemu with an arm64-chroot. This should be possible with the docker buildx command, see https://www.docker.com/blog/faster-multi-platform-builds-dockerfile-cross-compilation-guide/

Best regards Heiko

wofferl commented 1 year ago

simoncaron already provided a Dockerfile (https://github.com/wofferl/proxmox-backup-arm64/pull/29) for this.

docker buildx build -o packages --platform linux/arm64