Skip to content

Add emulation for i386 in the vm images #989

@triptec

Description

@triptec

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions