Skip to content

Building a multiplatform image

@heurtemattes can you help @diegomaestro with this issue, please?

Thx a lot


Dear Philippe,

We are having an issue during the build of the image in repository https://gitlab.eclipse.org/eclipse-research-labs/nemo-project/opencall-1/genesys/application/backend.

We are trying to build a multiplatform image, so we specified the following in the CI

 

buildkit:

  extends: .buildkit

  variables:

    BUILD_ARG: --opt platform=linux/amd64,linux/arm64

 

This results in the following error during the build of the arm64 image:

error: failed to solve: process "/dev/.buildkit_qemu_emulator /bin/sh -c pip3 install --upgrade pip && pip install --no-cache-dir -r requirements.txt" did not complete successfully: failed to copy xattrs: failed to set xattr "security.selinux" on /tmp/buildkit-qemu-emulator1705640781/dev/.buildkit_qemu_emulator: operation not supported

Is some other configuration needed for a multiplatform build?