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

Publish images with arm64 #198

Closed
alexeagle opened this issue Mar 15, 2024 · 4 comments · Fixed by #199
Closed

Publish images with arm64 #198

alexeagle opened this issue Mar 15, 2024 · 4 comments · Fixed by #199

Comments

@alexeagle
Copy link
Contributor

alexeagle commented Mar 15, 2024

Today, the bb-storage container image is published for x86_64 only.

% docker image inspect --format "{{.ID}} {{.Architecture}}" ghcr.io/buildbarn/bb-storage:20240311T070255Z-7b232a7
sha256:e1dcf8ca0b7b17a825ae8853aeb9db555b879302b851193592b239381eb32098 amd64

However there are some great instance types like https://instances.vantage.sh/aws/ec2/is4gen.medium which provide double the NVME per instance and 2.5X the I/O bandwidth and $0.144/hr vs $0.172 for i4i.large

These instances need arm64 architecture.
Note, I'm happy to work on a PR for this.

@alexeagle
Copy link
Contributor Author

Note, I suggest we also move away from https://github.com/bazelbuild/rules_docker at the same time, it's been long-unmaintained and now archived. rules_oci makes publishing multi-arch images easy, we even have some examples on-hand doing so for Go binaries.

alexeagle added a commit to alexeagle/bb-storage that referenced this issue Mar 15, 2024
Allows bb-storage users to deploy on arm64 architecture, e.g. AWS Graviton.
Fixes buildbarn#198
alexeagle added a commit to alexeagle/bb-storage that referenced this issue Mar 15, 2024
Allows bb-storage users to deploy on arm64 architecture, e.g. AWS Graviton.
Fixes buildbarn#198
alexeagle added a commit to alexeagle/bb-storage that referenced this issue Mar 20, 2024
Allows bb-storage users to deploy on arm64 architecture, e.g. AWS Graviton.
Fixes buildbarn#198
@alexeagle
Copy link
Contributor Author

Nice, now of course my next task is to wait on a release, do you have a regular cadence for them, or does it help to request one?

@EdSchouten
Copy link
Member

Every commit is a release.

@alexeagle
Copy link
Contributor Author

Got it, I noticed it was red, sent you #202

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

Successfully merging a pull request may close this issue.

2 participants