Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

How to cross-compile RancherOS from source for arm64/aarch64? #3040

Open
ericdraken opened this issue Dec 23, 2020 · 1 comment
Open

How to cross-compile RancherOS from source for arm64/aarch64? #3040

ericdraken opened this issue Dec 23, 2020 · 1 comment

Comments

@ericdraken
Copy link

ericdraken commented Dec 23, 2020

Does anyone know how to cross-compile the latest (or any) RancherOS version from source (rancher/os) on amd64 for arm64?

I've been fighting dapper and Dockerfile.dapper and the build scripts and GOARCH=arm64 and QEMU to coax it to build in an emulated arm64 Docker container, Docker-in-Docker, binding docker.sock, copying in aarch64 libraries like libselinux, and so much more. I'm going in circles with static dependencies missing, tests not being built and failing, TOOLCHAIN indirect failures, and on. You have no idea. Are there real instructions out there to compile the arm64 iso, artifacts, and dist assets?

@ericdraken ericdraken changed the title How to cross-compile RancherOS from source for arm64/aarch64? Real steps needed. How to cross-compile RancherOS from source for arm64/aarch64? Dec 23, 2020
@SneakyZEKE
Copy link

Same need.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants