Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 946 Bytes

File metadata and controls

25 lines (17 loc) · 946 Bytes

【官方公共层】Python310

ARN 兼容运行时 版本
acs:fc:{region}:official:layers/Python312/versions/1 custom.debian12 Python 3.12.9

该层基于 Python 官方 Dockerfile 制作。

快速开始

可以通过控制台或者 Serverless Devs 工具引用该层。

使用Python3.12层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。

  • PATH 环境变量需要添加 /opt/python3.12/bin 目录,注意需要加到PATH的最前面

示例如下:

PATH=/opt/python3.12/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin

License

docker-library/python: License

参考信息

维护者:阿里云-函数计算