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

feat: support riscv64 #1269

Open
ernado opened this issue Mar 17, 2023 · 1 comment
Open

feat: support riscv64 #1269

ernado opened this issue Mar 17, 2023 · 1 comment

Comments

@ernado
Copy link

ernado commented Mar 17, 2023

riscv64 architecture support for static images

Add support for riscv64 architecture, so riscv64 support can be added for dependant projects that are building on distroless.

riscv64 should be limited to only the static images and dependencies. This will reduce impact on the build.

The static images support would be enough.

Current issues

..URL: https://snapshot.debian.org/archive/debian/20230314T211539Z/dists/bullseye/main/binary-riscv64/Packages.xz, Status: 404 NOT FOUND
panic: failed (status: 404) to fetch remote file: "https://snapshot.debian.org/archive/debian/20230314T211539Z/dists/bullseye/main/binary-riscv64/Packages.xz"

There are no packages snapshot for riscv64, so updateWorkspaceSnapshots.sh will fail.

Reference

Upd

I've made a fork with CI/CD for building distroless riscv64 images on Debian Sid (unstable):

https://github.com/go-riscv/distroless

Looks like I will stick to it until Debian Trixie is released, where riscv64 will be (hopefully) stable, I think it will be in 2025.

@ernado
Copy link
Author

ernado commented Mar 18, 2023

I've made another attempt to support riscv64, but it requires medium size non-trivial refactoring: #1270

I think it will never be merged, but it was interesting exercise and I've became familiar enough with bazel and distroless repo to create a functioning fork with CI/CD for image publishing.

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.

1 participant