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

Ubuntu 22.04 / 22.10 images are missing riscv64 architecture #206

Closed
tmcgilchrist opened this issue Feb 14, 2023 · 10 comments
Closed

Ubuntu 22.04 / 22.10 images are missing riscv64 architecture #206

tmcgilchrist opened this issue Feb 14, 2023 · 10 comments
Assignees

Comments

@tmcgilchrist
Copy link
Member

Reported by @mtelvers the Ubuntu images on docker hub are missing riscv 64 support in the latest versions. See https://hub.docker.com/_/ubuntu/tags?page=1&name=22.10 and https://hub.docker.com/_/ubuntu/tags?page=1&name=22.04.

Causing the docker pipeline to fail and our riscv based images to be out of date. Based on the scarcity of riscv hardware we are only really using the riscv hardware for building these images and for some minor testing. We could one of:

  1. Use the oldest published version that did include riscv support
  2. Use an alternative image like https://hub.docker.com/r/riscv64/ubuntu/
  3. Remove publishing images until we get more hardware online and Ubuntu starts publishing docker images again.

Option 1 seems reasonable for now. Other than the ocluster-worker and base-image-builder, is anyone else relying on these images? @dra27

@mtelvers
Copy link
Member

For the latest ocluster worker deployment, we went with option 1, using FROM ubuntu:jammy-20221130 as that is the latest version which supports riscv. Dockerfile.worker

@dra27
Copy link
Contributor

dra27 commented Feb 22, 2023

What's the "correct" thing here? Should we be using riscv64/ubuntu in general?

@dra27
Copy link
Contributor

dra27 commented Feb 22, 2023

i.e. is there any information on the change in support of riscv64

@kit-ty-kate
Copy link
Contributor

Not much apart from "this is intentional and we're talking about it to possibly bring it back later" docker-library/official-images#13950 (comment)

@MisterDA
Copy link
Contributor

MisterDA commented Mar 6, 2023

I'm suggesting to use the images from riscv64/ubuntu:

@MisterDA
Copy link
Contributor

What's the "correct" thing here? Should we be using riscv64/ubuntu in general?

I've pushed this change, enabling the riscv64 Ubuntu images again (and the multiarch tags as well).

@tmcgilchrist
Copy link
Member Author

@benmandrew With the 23.10 upgrade docker base images is missing RiscV support again. See https://images.ci.ocaml.org/job/2023-10-31/060912-ocluster-build-fd0e13

@benmandrew
Copy link
Contributor

The Ubuntu build page shows that Mantic has been built successfully on riscv64 and is up-to-date: https://launchpad.net/~cloud-images-release-managers/+livefs/ubuntu/mantic/ubuntu-oci.

The riscv64/ubuntu Docker page hasn't had updates in 10 months. I sent an email a few weeks ago to Steve Langasek (listed on the Launchpad page) about this but I've not had a response. I'll try contacting other members of the team, but it's a little difficult to find who's responsible.

@shonfeder
Copy link
Contributor

@mtelvers has work to address this on mtelvers#1, which PR will to target this repo soon.

@shonfeder shonfeder assigned shonfeder and mtelvers and unassigned shonfeder May 8, 2024
@shonfeder
Copy link
Contributor

shonfeder commented May 8, 2024

@mtelvers opened #276, which tracks work on a general solution to this problem, so I'll close this in favor of that.

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

No branches or pull requests

7 participants