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

Add jammy and kinetic (ubuntu 22.04 and 22.10) #791

Closed
wants to merge 5 commits into from

Conversation

tuler
Copy link

@tuler tuler commented Jan 23, 2023

My end goal is to build images for linux/riscv64 architecture.
The problem is that the base used here is debian and that doesn't have an official riscv64 build yet. On the other hand ubuntu images already have riscv64 official builds.

Another separate problem is the integration in the build system, which I believe is based on a Jenkins system, to build riscv64 images. I successfully built riscv64 images in my local arm64 Apple M1 using docker buildx riscv64 support through qemu.

This PR is only about adding ubuntu based images though, which will help to achieve the goal of having riscv64 images.

@tianon
Copy link
Member

tianon commented Jan 23, 2023

See #708

@yosifkit
Copy link
Member

yosifkit commented Feb 1, 2023

Just an FYI, Ubuntu has dropped riscv64 images, for now: docker-library/official-images#13950 (comment).

@tuler
Copy link
Author

tuler commented Feb 1, 2023

Another alternative for adding linux/riscv64 support for the official python image is to add the unstable and slim-unstable debian variants.

Those debian variants at docker hub has builds for linux/riscv64, as well as buildpack-deps:unstable.

Would you be interested in having a python:unstable as well?

@tianon
Copy link
Member

tianon commented Feb 1, 2023

Unfortunately, as the name implies, Debian Unstable is a fairly unstable base to build on top of, and is frequently broken (by design), so we don't have very many official images based on it (and would prefer not to maintain any ourselves).

@cjdcordeiro
Copy link

We've decided to add riscv64 back and now to all registries :) (before, it wasn't available in ECR, ACR and others...but now it shall be).

If all goes well with our riscv64 builders, we should have this fairly soon ;)

@tuler
Copy link
Author

tuler commented Feb 8, 2023

@cjdcordeiro we are not seeing linux/riscv64 builds for buildpack-deps:jammy anymore/yet. Will they be added?

@cjdcordeiro
Copy link

@cjdcordeiro we are not seeing linux/riscv64 builds for buildpack-deps:jammy anymore/yet. Will they be added?

@tuler yes they will. It requires a few changes in our build systems in order to make both i386 and riscv64 coexist across the spectrum of currently supported releases, but we do intend do start publishing for riscv64 again. It is currently being worked on but I don't yet have an ETA.

@tuler
Copy link
Author

tuler commented Aug 21, 2023

@cjdcordeiro we are not seeing linux/riscv64 builds for buildpack-deps:jammy anymore/yet. Will they be added?

@tuler yes they will. It requires a few changes in our build systems

@cjdcordeiro any update on this?

@tianon
Copy link
Member

tianon commented Dec 19, 2023

Sorry, we unfortunately have no plans to support Ubuntu based images here (our matrix is already pretty large supporting all actively supported release lines of Python upstream multiplied by 2x Debian + 2x Alpine + 2x Windows and their respective sets of supported CPU architectures and Python is relatively heavy to build).

@tianon tianon closed this Dec 19, 2023
@cjdcordeiro
Copy link

FYI (and especially for @tuler) the riscv64 support for Ubuntu container images is being worked on atm. It is already in QA and should reach the official images soon.

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 this pull request may close these issues.

4 participants