Open mcotdev opened 3 months ago
Are you able to paste the error for me? I don't have an arm64 machine to test with.
There are a couple of native code libraries that csvbase does use, likely the issue is with those.
I'm open to making a change to add support for amd64 if it's straightforward.
I tried building and running the Docker image and got (after a successful build):
exec /tini: exec format error
I guess just replacing https://github.com/krallin/tini/releases/download/v0.19.0/tini
with https://github.com/krallin/tini/releases/download/v0.19.0/tini-arm64
might work. So maybe adding -$TARGETARCH
to the tini
download could work (after adding ARG TARGETARCH
to the Dockerfile, as indicated here). But I didn't test it all the way, and it requires BuildKit, so I'm not sure how straightforward it really is in practice.
I'm frankly not 100% sure that tini is something that is necessary in our docker container. It was added ages ago by an outside contributor and I wasn't really sure at the time whether it was still a best practice.
I have to fix a bug right now but if I removed it, could you re-run and paste the error? Or otherwise advise how I can run arm64 builds myself?
Sure, I have a Raspberry Pi that I can use to test it. Unfortunately it is not publicly available so I don't know how you could test on arm64 by yourself.
Description
Ran the current Dockerfile and Docker Compose files on a ARM64 Raspberry Pi, but ended up with a exec format error. Works fine on a AMD64.