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

Bump Docker base image #219

Closed
Xeonacid opened this issue Feb 23, 2024 · 4 comments
Closed

Bump Docker base image #219

Xeonacid opened this issue Feb 23, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@Xeonacid
Copy link

Hi, I'm adding support for RISC-V.
But https://github.com/indygreg/python-build-standalone/blob/main/cpython-unix/build.cross.Dockerfile#L2 uses a very old image, Debian 9 "Stretch", which has been EOL in June 30, 2022. And it has no riscv64 cross compiler in apt repo.
Could we bump the base image (and https://github.com/indygreg/python-build-standalone/blob/main/cpython-unix/build.cross.Dockerfile#L24 snapshot OFC) to a newer, in support one?

BTW, https://github.com/indygreg/python-build-standalone/blob/main/cpython-unix/base.Dockerfile#L2 uses an even older one, Debian 8 "Jessie"...

@indygreg indygreg added the enhancement New feature or request label Feb 24, 2024
@indygreg
Copy link
Owner

The use of old Debian versions for the build environment is purposefully: it ensures we don't reference too-new glibc symbol versions. (Strictly speaking we could use something like zig cc to achieve glibc version targeting without actually compiling against an ancient glibc, but the tried-and-true method of compile on an older distro/glibc is what I went with initially.)

To build out riscv64 support, we can introduce a separate base image (one based on Debian 10 perhaps?) and use it to build riscv64.

@Xeonacid
Copy link
Author

Thanks!

@Xeonacid Xeonacid closed this as not planned Won't fix, can't repro, duplicate, stale Feb 25, 2024
@Boring545
Copy link

@Xeonacid Hello, I am also working on porting to RISCV64. Have you been successful? Could you share some of your experiences?

@Xeonacid
Copy link
Author

@Xeonacid Hello, I am also working on porting to RISCV64. Have you been successful? Could you share some of your experiences?

I'm busy with other stuff these days and forgot this... Have no progress right now. Sorry for that. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants