Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker support for linux/arm64 arch #6724

Open
zees-dev opened this issue Nov 14, 2024 · 0 comments
Open

Docker support for linux/arm64 arch #6724

zees-dev opened this issue Nov 14, 2024 · 0 comments

Comments

@zees-dev
Copy link
Contributor

zees-dev commented Nov 14, 2024

Issue

There isn't a docker image for linux/arm64 (also the arch for M1 macs) hence arm64 machines cannot run the current docker image(s) natively.

Also, running the linux/amd64 version of the image on a arm64 machine (via QEMU) throws LIBC errors upon execution of the forc CLI:

# > docker run --platform linux/amd64 --rm -it ghcr.io/fuellabs/forc:sha-861ca10 bash
# > root@8dea8e7d9b31:~# ./forc
./forc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./forc)
./forc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./forc)
./forc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./forc)

The CI needs to be updated to support building for both linux/amd64 and linux/arm64 and publishing these to GHCR (ideally under the same tag).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant