Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 969 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 969 Bytes

【官方公共层】Python36

ARN 兼容运行时 版本
acs:fc:{region}:official:layers/Python36/versions/2 custom-runtime Python 3.6.15

该层基于 Python 官方 Dockerfile 制作。

快速开始

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

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

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

示例如下:

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

License

docker-library/python: License

参考信息

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