如何将Python 3.7或3.8安装到OpenJDK Docker容器中,而无需从源头构建?

发布于 2025-02-09 08:56:01 字数 363 浏览 2 评论 0原文

我想在Docker Hub上使用官方的Flink Image( https://hub.docker.com/_./_// Flink )与Pyflink一起使用(特别是1.14.4版本)。该图像基于OpenJDK:11-JRE基本图像,即Debian 11.3。

Debian 11似乎在其包装存储库中没有Python 3.8(仅3.9)。是否可以将Python 3.7或3.8安装到OpenJDK映像中而无需从源构建它的方法?我不能使用3.9,因为Flink还不支持这一点。

I want to use the official Flink image on Docker Hub (https://hub.docker.com/_/flink) for use with PyFlink (specifically the 1.14.4 version). That image is based on the openjdk:11-jre base image which is Debian 11.3.

Debian 11 does not seem to have Python 3.8 in its package repository (only 3.9). Is there a way of installing Python 3.7 or 3.8 into the OpenJDK image without building it from source? I can't use 3.9 as Flink does not support this yet.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文