Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.05 KB

File metadata and controls

26 lines (18 loc) · 1.05 KB

【官方公共层】Python39

ARN 兼容运行时 版本
acs:fc:{region}:official:layers/Python39/versions/2 custom,custom.debian10 Python 3.9.13
acs:fc:{region}:official:layers/Python39/versions/1 custom-runtime Python 3.9.13

该层基于 Python 官方 Dockerfile 制作。

快速开始

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

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

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

示例如下:

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

License

docker-library/python: License

参考信息

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