I’m trying to use a third-party service to manage some package installations, but it fail to build on the packet.net ARM v8 servers because of an architecture conflict. Was wondering if I could trick the command into thinking the build server was ARM v7 instead of ARM v8.
Here’s the details: I’m using
platformio as a low-level build tool, and it’s trying to install packages like
tool-bossac, but the only binaries available are for
linux_aarch64. I’ll be deploying these to a Raspberry Pi (so,
linux_armv7l), but the build server is
linux_armv8l, so the binaries aren’t found.
The compatibility search essentially relies on
uname, so I should be able to trick it by adding
RUN setarch armv7l INSTALL_CMD to my
Dockerfile, but the only available architectures I’ve seen from
setarch --list are
Is there a way I can trick my
Dockerfile to thinking it’s
armv7l so I can grab these binaries?