1
AoEiuV020 2021-10-15 09:35:29 +08:00
不行的吧,自己基于操作系统镜像安装一下 openJdk 和 python,
|
2
lupus721 2022-01-11 14:19:06 +08:00
https://gist.githubusercontent.com/wenyurush/ca670dafa0526a3ffdedcf2f9696126e/raw/33b62ae39bffffec28e19c405b388e92864b5944/python-openjdk.dockerfile
自己缝合了一个,确保可以构建成功,py 和 java 都 ok 试了下不能贴图。。算了。。 ``` root@1bd3c08d01ac:/# java -version openjdk version "19-ea" 2022-09-20 OpenJDK Runtime Environment (build 19-ea+4-144) OpenJDK 64-Bit Server VM (build 19-ea+4-144, mixed mode, sharing) root@1bd3c08d01ac:/# python -version Unknown option: -e usage: (null) [option] ... [-c cmd | -m mod | file | -] [arg] ... Try `python -h' for more information. root@1bd3c08d01ac:/# python -V Python 3.11.0a3 root@1bd3c08d01ac:/# ``` |