monitoring icon indicating copy to clipboard operation
monitoring copied to clipboard

Build riscv64 image

Open ffgan opened this issue 2 months ago • 0 comments

What this PR does / why we need it:

I'm currently working on adding riscv64 support for kubevirt, as detailed in https://github.com/kubevirt/containerized-data-importer/issues/3948. While adding support for CDI, I discovered that this repository needs riscv64 support as well, so I've opened this PR to add riscv64 support.

By checking gcr.io/distroless/base:latest and alpine:latest , we can see the following table:

arch distroless/base alpine
amd64 Y Y
arm64/v8 Y Y
arm/v7 Y Y
s390x Y Y
ppc64le Y Y
riscv64 N Y
386 N Y
arm/v6 N Y

Clearly, Alpine has excellent multi-architecture support. Should we consider switching from distroless/base to Alpine to gain riscv64 support? I believe there shouldn't be any compatibility issues between the two, but I haven't yet found a good approach for testing this image in CI. If I find one, I'll submit the relevant PR promptly.

For now, I've run the CI in my own fork, and the results show everything is working smoothly. Details are as follows:

  1. prom-metrics-linter
  2. Generate a build and push to 'ghpages' branch
  3. Sanity Checks

If you have any questions about the above content, please feel free to contact me directly. I'm happy to answer any related questions.


Release note:

Build riscv64 image

Otehr Info Co-authored by: [email protected];

ffgan avatar Nov 13 '25 05:11 ffgan