enable riscv64 builds for all ubuntu-base OCI recipes

Asked by Cristovao Cordeiro

All of Ubuntu base container images are now driven by the OCI recipes in https://launchpad.net/cloud-images/+oci/ubuntu-base.

We'd like to continue supporting riscv64, as we've been doing up to now in Docker Hub (https://hub.docker.com/_/ubuntu/).

Could you please enable the riscv64 architecture on all 5 existing OCI recipes?
Thanks

Revision history for this message
Cristovao Cordeiro (cjdc) said :
#1

Hi, any updates about this?

Revision history for this message
Colin Watson (cjwatson) said :
#2

I've had a look but it's in fact even more complicated than I had hoped it might be, so still in progress, sorry. Tracking internally as https://warthogs.atlassian.net/browse/LP-1050.

Revision history for this message
Cristovao Cordeiro (cjdc) said :
#3

Ok thanks for the update.

Revision history for this message
Cristovao Cordeiro (cjdc) said :
#4

Hi, just checking again for an update.

Revision history for this message
Colin Watson (cjwatson) said :
#5

I'm afraid not :-(

Revision history for this message
Samir Akarioh (samiraka) said :
#6

Hello,

Right now, many people are asking for it, for example [1]. Do you have some updates about the time it will take to add RISCV64 for the Ubuntu-base OCI image?

[1] https://bugs.launchpad.net/cloud-images/+bug/2039333

Revision history for this message
plot (plot429) said :
#7

Is there anything that external people could do to help move this forward?

Revision history for this message
Enderson Maia (endersonmaia) said :
#8

I already subscribed here, like @plot429 said, if there's anything external people can do to help, let me know.

Revision history for this message
Clinton Fung (clinton-fung) said :
#9

This was enabled a few months ago.

Revision history for this message
plot (plot429) said :
#10

> This was enabled a few months ago.

Can you please add a source or reference to this claim?

Revision history for this message
Clinton Fung (clinton-fung) said :
#11

> Can you please add a source or reference to this claim?

Certainly!

I was the one that picked up on this at the end of calendar year 2023, though my memory is slightly hazy on some nuances.

IIRC, the issue was that the `oci.build_series.ubuntu` feature-rule was set to `bionic`, but there was no riscv64 in Ubuntu back then. Upgrading to `focal` was the most sensible, but that would have left `i386` in a broken state. After waiting long enough, we decided it was ok to transition to `focal`, which enabled riscv64 as an architecture. Not only this, but due great work by @cjwatson and @tomparrott, riscv64 builds are now self-service (see https://blog.launchpad.net/ppa/self-service-riscv64-builds)!

AIUI, OCI recipe owners should be able to navigate to <recipe_url>/+edit and tick "RISC-V 64-bit (riscv64).

If you run into any issues with this, please do let us know!

Revision history for this message
plot (plot429) said :
#12

Thank you!

Does it mean that the Docker docs can be adjusted in this point: https://github.com/docker-library/docs/commit/54617b9e5298e9b8325c59081dcd9bd30cb229d6#diff-aa2475d4f8253db9a16955859cf75ba0a5d4f2e2418db0d07390376ca47f1e48R39

Locally I get:

$ podman pull docker.io/riscv64/ubuntu:noble
Trying to pull docker.io/riscv64/ubuntu:noble...
Error: initializing source docker://riscv64/ubuntu:noble: reading manifest noble in docker.io/riscv64/ubuntu: manifest unknown

Revision history for this message
Clinton Fung (clinton-fung) said :
#13

Hmmm ok, I see what you're saying. Although I enabled riscv64 builds for OCI images in Launchpad, that does not mean that individual projects are making use of this capability.

@cjdc would be best positioned to talk to this, but I believe he has arranged some time with my team and I to discuss in an upcoming in-person event.

Revision history for this message
Cristovao Cordeiro (cjdc) said :
#14

Hi!

While riscv64 builds are now supported, we are still working to resolve some reliability issues with these builds, and because of that, we haven't yet resumed the publishing of riscv64 images.

We are planning to tackle this issue within the next month.

Can you help with this problem?

Provide an answer of your own, or ask Cristovao Cordeiro for more information if necessary.

To post a message you must log in.