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

Multi-Arch docker images #4900

Closed
torfbolt opened this issue Feb 18, 2020 · 4 comments · Fixed by #12428
Closed

Multi-Arch docker images #4900

torfbolt opened this issue Feb 18, 2020 · 4 comments · Fixed by #12428
Labels
CI Continuous integration related items

Comments

@torfbolt
Copy link

It would be great if the automatic docker build process could be expanded for multi-arch images, something like this:
https://www.docker.com/blog/multi-arch-images/

This way people with ARM machines could use the latest client versions and help testing the bleeding edge.

@prestonvanloon
Copy link
Member

prestonvanloon commented Mar 6, 2020

We're providing precompiled binaries with every release starting with tag v0.3.2.

Building ARM images should work with the following command

bazel run --config=release --config=linux_arm64_docker //beacon-chain:image_bundle

@prestonvanloon
Copy link
Member

Actually, I just tried the above command and the result was

ERROR: /home/preston/git/prysm/tools/BUILD.bazel:41:1: PackageTar tools/passwd_tar.tar failed (Exit 127) build_tar failed: error executing command bazel-out/host/bin/external/bazel_tools/tools/build_defs/pkg/build_tar --flagfile bazel-out/aarch64-fastbuild/bin/tools/passwd_tar.args

Use --sandbox_debug to see verbose messages from the sandbox
/usr/bin/env: 'python': No such file or directory
Target //beacon-chain:image_bundle failed to build

In any case, you could copy the release files into an ARM64 based image and that would satisfy the use case I think.

I'll leave this open now to consider adding this automatically in our continuous integration pipeline.

@prestonvanloon prestonvanloon added the CI Continuous integration related items label Mar 6, 2020
@prestonvanloon
Copy link
Member

prestonvanloon commented Mar 31, 2020

@torfbolt we provide multiarch binaries now as a recommended installation for ARM.

I'll close this for now, thanks for the report!

Edit: see https://docs.prylabs.network/docs/install/arm/

@prestonvanloon
Copy link
Member

Revisiting this issue to properly provide multiarch docker images.

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

Successfully merging a pull request may close this issue.

2 participants