taskcluster / taskcluster

CI at Scale
https://taskcluster.net
Mozilla Public License 2.0
364 stars 250 forks source link

Create multi-arch docker images #5560

Open petemoore opened 2 years ago

petemoore commented 2 years ago

It is useful to have multi-arch docker images to e.g. improve performance of macOS/ARM dev deployments.

lotas commented 2 years ago

Currently build fails with

[10:31:23] Build Taskcluster Docker Image: #46 [linux/arm/v7 build 10/28] RUN yarn install --production --frozen-lockfile
[10:31:23] Build Taskcluster Docker Image: #0 0.812 Error while loading /usr/local/sbin/node: No such file or directory
[10:31:23] Build Taskcluster Docker Image: #46 ERROR: process "/dev/.buildkit_qemu_emulator /bin/sh -c yarn install --production --frozen-lockfile" did not complete successfully: exit code: 1
[10:31:23] Build Taskcluster Docker Image: error: failed to solve: process "/dev/.buildkit_qemu_emulator /bin/sh -c yarn install --production --frozen-lockfile" did not complete successfully: exit code: 1

we'll need to investigate if this is a CI image that doesn't support this, or something else