8000 Docker images aren't multiplatform · Issue #1920 · cometbft/cometbft · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Docker images aren't multiplatform #1920

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

Open
faddat opened this issue Jan 1, 2024 · 1 comment
Open

Docker images aren't multiplatform #1920

faddat opened this issue Jan 1, 2024 · 1 comment
Labels
docker Docker image-related enhancement New feature or request

Comments

@faddat
Copy link
Contributor
faddat commented Jan 1, 2024

Bug Report

Developers use many kinds of computers, some of them are made by apple and use arm cpus.

Solution

Use multiplatform images so we can get a decent grip on performance in local environments.

@faddat faddat added bug Something isn't working needs-triage This issue/PR has not yet been triaged by the team. labels Jan 1, 2024
@mzabaluev mzabaluev added enhancement New feature or request docker Docker image-related and removed bug Something isn't working needs-triage This issue/PR has not yet been triaged by the team. labels Feb 2, 2024
@aajimal
Copy link
aajimal commented Feb 9, 2024

To add to this issue -- it seems the images are published for Arm. However, the binaries are not properly compiled for it.

Example on an M2 Mac:

8cd4c787a7e8:/cometbft# file /usr/bin/cometbft
/usr/bin/comet
62E4
bft: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=gv8CUPjCxHfuL3pYq0fa/vNmlYakmxZYB3V_TTwfY/QeRzzThD8RyAsTFlgfC1/MfAgESqIGhv8mhF1b_zu, stripped


8cd4c787a7e8:/cometbft# uname -a
Linux 8cd4c787a7e8 6.6.12-linuxkit #1 SMP Fri Jan 19 08:53:17 UTC 2024 aarch64 Linux

We can see that the compiled binary is x86-64 but the container is aarch64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker Docker image-related enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants
0