colima icon indicating copy to clipboard operation
colima copied to clipboard

Add emulation for i386 in the vm images

Open triptec opened this issue 1 year ago • 0 comments
trafficstars

Description

When we're cross-compiling on mac m1 computers we're running amd64 docker-images and some of the binaries are i386 binaries which I guess runs just find on actual amd64 processors but won't run on emulated amd64. Our current solution is to run docker run --privileged --rm tonistiigi/binfmt --install 386 which will install i386 emulation in the host vm but we need to re-run that after colima stop; colima start and often it's not realized until pretty far into the build process.

Link to the triaging on slack: https://cloud-native.slack.com/archives/C05SPLRAS7J/p1703844990323929

triptec avatar Feb 23 '24 10:02 triptec