alex4108 / scoreboard

A simple scoreboard webapp using Express, React, and Mongo
MIT License
4 stars 1 forks source link

[BUG] Travis-CI fails to build linux/arm/v7 architecture using buildx #1

Closed alex4108 closed 3 years ago

alex4108 commented 3 years ago

:bug::scroll:

log.txt

alex4108 commented 3 years ago

Nice, I had to install the plugin

https://stackoverflow.com/questions/64670750/docker-buildx-on-travis-ci

This got me further, now I'm hitting

failed to solve: rpc error: code = Unknown desc = executor failed running [/dev/.buildkit_qemu_emulator /bin/sh -c npm install]: exit code: 1
alex4108 commented 3 years ago

Okay, I had to use this container to set up QEMU's interpreters: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes

The full .travis.yml file that ended up letting me build multi-architecture images (linux/arm/v7 for my raspberry pi and linux/amd64 for my host) using docker buildx on travis is available here