simkube
simkube copied to clipboard
Building on a non-Intel MacBook produces ARM64 images which won't run in an x86_64 cluster
Describe the bug
Building sk-ctrl, sk-tracer, and sk-driver on an ARM64 MacBook builds ARM64 binaries even with the ubuntu:latest Docker build image selected. We need to cross-compile for x86_64 in this case.
Steps to reproduce
-
make build imgon an ARM MacBook - try to deploy the images to an x86_64 cluster
Expected behavior
It should work
@BigValen has a branch which possibly fixes this, or at least makes it easier:
https://github.com/BigValen/simkube/blob/master/Makefile
Would be nice to also have some instructions for how to use.
Also it would be nice if we can add automated tests for this in GitHub actions.