├── LICENSE ├── README.md ├── docs ├── Aliyun-DataX │ └── README.md ├── ArmsAgent273x │ └── README.md ├── ArmsAgent273x_JDK17 │ └── README.md ├── ArmsAgent4x │ └── README.md ├── Dotnet6 │ └── README.md ├── Dotnetcore2.1 │ └── README.md ├── FFmpeg6x │ └── README.md ├── Go1 │ └── README.md ├── Go118 │ └── README.md ├── Java11 │ └── README.md ├── Java17 │ └── README.md ├── Java21 │ └── README.md ├── Java8 │ └── README.md ├── Loggie13x │ └── README.md ├── Nginx │ └── README.md ├── Nodejs-Aliyun-SDK │ ├── README.md │ └── package.json ├── Nodejs-Puppeteer10x │ └── README.md ├── Nodejs-Puppeteer17x │ └── README.md ├── Nodejs-Puppeteer19x │ └── README.md ├── Nodejs-Puppeteer24x │ └── README.md ├── Nodejs12 │ └── README.md ├── Nodejs14 │ └── README.md ├── Nodejs16 │ └── README.md ├── Nodejs17 │ └── README.md ├── Nodejs18 │ └── README.md ├── Nodejs20 │ └── README.md ├── Nodejs22 │ └── README.md ├── PHP72 │ ├── CHANGELOG.md │ └── README.md ├── PHP80-Debian10 │ ├── CHANGELOG.md │ └── README.md ├── PHP80 │ ├── CHANGELOG.md │ └── README.md ├── PHP81-Debian10 │ ├── CHANGELOG.md │ └── README.md ├── PHP81 │ ├── CHANGELOG.md │ └── README.md ├── Poppler22x-Pdf2image │ └── README.md ├── Python3-Flask2x │ ├── README.md │ └── requirements.txt ├── Python3-Flask3x │ ├── README.md │ └── requirements.txt ├── Python310-Aliyun-SDK │ ├── README.md │ └── requirements.txt ├── Python310-OSS2 │ └── README.md ├── Python310-Opencv4x │ └── README.md ├── Python310-Package-Collection │ ├── README.md │ └── requirements.txt ├── Python310-PyTorch2x │ └── README.md ├── Python310-TensorFlow2x │ └── README.md ├── Python310 │ └── README.md ├── Python312-Aliyun-SDK │ ├── README.md │ └── requirements.txt ├── Python312 │ └── README.md ├── Python36-Aliyun-SDK │ ├── README.md │ └── requirements.txt ├── Python36-Package-Collection │ ├── README.md │ └── requirements.txt ├── Python36-PyTorch1x │ └── README.md ├── Python36-SciPy1x │ └── README.md ├── Python36 │ └── README.md ├── Python38-Package-Collection │ ├── README.md │ └── requirements.txt ├── Python38-Playwright │ └── README.md ├── Python38 │ └── README.md ├── Python39-Aliyun-SDK │ ├── README.md │ └── requirements.txt ├── Python39-OSS2 │ └── README.md ├── Python39-Package-Collection │ ├── README.md │ └── requirements.txt ├── Python39-Pandas1x │ └── README.md ├── Python39-PyTorch1x │ ├── CHANGELOG.md │ └── README.md ├── Python39-SciPy1x │ └── README.md ├── Python39 │ └── README.md ├── Python3x-MCP │ └── README.md ├── Python3x-Pandas2x │ └── README.md ├── Python3x-PyMongo4x │ └── README.md ├── ServerlessDevs │ └── README.md └── Sqlite3 │ └── README.md └── layers └── Nodejs-Puppeteer17x ├── Dockerfile ├── Makefile ├── README.md └── package.json /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 阿里云-函数计算-公共层 2 | 3 | 该项目提供了一些精选的函数计算公共层。 4 | 层可以为您提供自定义的公共依赖库、运行时环境及函数扩展等发布与部署能力。您可以直接使用本文列举的公共层,以减少部署、更新时的代码包体积,也可以快速的开发和测试您的代码。 5 | 6 | 详细信息可参考官方文档 7 | 8 | - [构建层](https://help.aliyun.com/document_detail/193057.html) 9 | - [使用层](https://help.aliyun.com/document_detail/193058.html) 10 | 11 | ## 公共层 12 | 13 | 公共层主要分为以下几类: 14 | 15 | - 运行时及其依赖库 16 | - 常用依赖库 17 | - 阿里云 SDK 18 | 19 | > 1. 维护者为`函数计算`的层,可以直接在函数计算控制台的`添加官方公共层`获取;维护者不是`函数计算`的层,需要通过`层ARN`的方式添加。 20 | > 21 | > 2. 官方公共层终止支持后,函数计算不再继续提供对该公共层的版本更新,已终止支持的公共层仍然可以继续使用。但建议您将函数迁移至最新支持的公共层,以便获得技术支持和安全更新。 22 | 23 | ### 运行时及其依赖库 24 | 25 | 以下公共层由阿里云函数计算维护。 26 | 27 | | 层名称 | ARN/说明 | 兼容运行时 | 终止支持时间(EOF) | 28 | |------------------|-----------------|--------|-----| 29 | | Python3.12 | `acs:fc:{region}:official:layers/Python312/versions/1`
[README.md](docs/Python312/README.md) | `custom.debian12` | 暂无明确时间 | 30 | | Nodejs22 | `acs:fc:{region}:official:layers/Nodejs22/versions/2`
[README.md](docs/Nodejs22/README.md) | `custom.debian12`
`custom.debian11` | 暂无明确时间 | 31 | | PHP81-Debian10 | `acs:fc:{region}:official:layers/PHP81-Debian10/versions/1`
[README.md](docs/PHP81-Debian10/README.md) | `custom.debian10` | 暂无明确时间 | 32 | | PHP80-Debian10 | `acs:fc:{region}:official:layers/PHP80-Debian10/versions/2`
[README.md](docs/PHP80-Debian10/README.md) | `custom.debian10` | 暂无明确时间 | 33 | | Nginx | `acs:fc:{region}:official:layers/Nginx/versions/1`
[README.md](docs/Nginx/README.md) | `custom.debian10` | 暂无明确时间 | 34 | | Python310 | `acs:fc:{region}:official:layers/Python310/versions/3`
[README.md](docs/Python310/README.md) | `custom`
`custom.debian10`
`custom.debian11`
`custom.debian12` | 暂无明确时间 | 35 | | Python310-Package-Collection | `acs:fc:{region}:official:layers/Python310-Package-Collection/versions/3`
[README.md](docs/Python310-Package-Collection/README.md) | `custom.debian10` | 暂无明确时间| 36 | | Python39 | `acs:fc:{region}:official:layers/Python39/versions/2`
[README.md](docs/Python39/README.md) | `custom`
`custom.debian10` | 暂无明确时间 | 37 | | Python39-Package-Collection | `acs:fc:{region}:official:layers/Python39-Package-Collection/versions/3`
[README.md](docs/Python39-Package-Collection/README.md) | `custom`
`custom.debian10` | 暂无明确时间| 38 | | Python38 | `acs:fc:{region}:official:layers/Python38/versions/2`
[README.md](docs/Python38/README.md) | `custom`
`custom.debian10` | 暂无明确时间 | 39 | | Python38-Package-Collection | `acs:fc:{region}:official:layers/Python38-Package-Collection/versions/2`
[README.md](docs/Python38-Package-Collection/README.md) | `custom`
`custom.debian10` | 暂无明确时间| 40 | | Python36 | `acs:fc:{region}:official:layers/Python36/versions/2`
[README.md](docs/Python36/README.md) | `custom` | 2024-04 | 41 | | Python36-Package-Collection | `acs:fc:{region}:official:layers/Python36-Package-Collection/versions/2`
[README.md](docs/Python36-Package-Collection/README.md) | `custom` | 2024-04 | 42 | | Dotnet6 | `acs:fc:{region}:official:layers/Dotnet6/versions/3`
README.md](docs/Dotnet6/README.md) | `custom.debian10`,`custom` | 暂无明确时间 | 43 | | PHP81 | `acs:fc:{region}:official:layers/PHP81/versions/6`
[README.md](docs/PHP81/README.md) | `custom` | 暂无明确时间 | 44 | | PHP80 | `acs:fc:{region}:official:layers/PHP80/versions/7`
[README.md](docs/PHP80/README.md) | `custom` | 暂无明确时间 | 45 | | PHP72 | `acs:fc:{region}:official:layers/PHP72/versions/6`
[README.md](docs/PHP72/README.md) | `custom` | 暂无明确时间 | 46 | | Java8 | `acs:fc:{region}:official:layers/Java8/versions/1`
[README.md](docs/Java8/README.md) | `custom.debian10`| 暂无明确时间 | 47 | | Java11 | `acs:fc:{region}:official:layers/Java11/versions/3`
[README.md](docs/Java11/README.md) | `custom`
`custom.debian10`
`custom.debian11`
`custom.debian12`| 暂无明确时间 | 48 | | Java17 | `acs:fc:{region}:official:layers/Java17/versions/3`
[README.md](docs/Java17/README.md) | `custom`
`custom.debian10`
`custom.debian11`
`custom.debian12` | 暂无明确时间 | 49 | | Java21 | `acs:fc:{region}:official:layers/Java21/versions/2`
[README.md](docs/Java21/README.md) | `custom.debian10`
`custom.debian11`
`custom.debian12`| 暂无明确时间 | 50 | | Nodejs20 | `acs:fc:{region}:official:layers/Nodejs20/versions/3`
[README.md](docs/Nodejs20/README.md) | `custom.debian10`
`custom.debian11`
`custom.debian12` | 暂无明确时间 | 51 | | Nodejs18 | `acs:fc:{region}:official:layers/Nodejs18/versions/3`
[README.md](docs/Nodejs18/README.md) | `custom.debian10` | 暂无明确时间 | 52 | | Nodejs17 | `acs:fc:{region}:official:layers/Nodejs17/versions/2`
[README.md](docs/Nodejs17/README.md) | `custom` | 暂无明确时间 | 53 | | Nodejs16 | `acs:fc:{region}:official:layers/Nodejs16/versions/2`
[README.md](docs/Nodejs16/README.md) | `custom`
`custom.debian10` | 暂无明确时间 | 54 | | Nodejs14 | `acs:fc:{region}:official:layers/Nodejs14/versions/2`
[README.md](docs/Nodejs14/README.md) | `custom` | 暂无明确时间 | 55 | | Nodejs12 | `acs:fc:{region}:official:layers/Nodejs12/versions/2`
[README.md](docs/Nodejs12/README.md) | `custom` | 暂无明确时间 | 56 | | Go1 | `acs:fc:{region}:official:layers/Go1/versions/1`
[README.md](docs/Go1/README.md) | `custom.debian10` | 暂无明确时间 | 57 | | Go118 | `acs:fc:{region}:official:layers/Go118/versions/1`
[README.md](docs/Go118/README.md) | `custom` | 暂无明确时间 | 58 | 59 | ### 常用依赖库 60 | 61 | 以下公共层由阿里云函数计算维护。 62 | 63 | | 层名称 | ARN/说明 | 兼容运行时 | 终止支持时间(EOF) | 维护者 | 64 | |---------|------|------|-----|----------| 65 | | Nodejs-Puppeteer24x | `acs:fc:{region}:official:layers/Nodejs-Puppeteer24x/versions/1`
[README.md](docs/Nodejs-Puppeteer24x/README.md) | `custom.debian12` | 暂无明确时间 | 函数计算 | 66 | | Python3-Flask3x | `acs:fc:{region}:official:layers/Python3-Flask3x/versions/2`
[README.md](docs/Python3-Flask3x/README.md) | `custom.debian12`
`custom.debian11`
`custom.debian10`
`python3.12` | 暂无明确时间 | 函数计算 | 67 | | Python3x-MCP | `acs:fc:{region}:official:layers/Python3x-MCP/versions/3`
[README.md](docs/Python3x-MCP/README.md) | `python3.12`
`custom.debian12`
... | 暂无明确时间 | 函数计算 | 68 | | Python310-OSS2 | `acs:fc:{region}:official:layers/Python310-OSS2/versions/1`
[README.md](docs/Python310-OSS2/README.md) | `python3.10`
`custom.debian10` | 暂无明确时间 | 函数计算 | 69 | | Python39-OSS2 | `acs:fc:{region}:official:layers/Python39-OSS2/versions/1`
[README.md](docs/Python39-OSS2/README.md) | `python3.9`
`custom.debian10` | 暂无明确时间 | 函数计算 | 70 | | Python310-TensorFlow2x | `acs:fc:{region}:official:layers/Python310-TensorFlow2x/versions/1`
[README.md](docs/Python310-TensorFlow2x/README.md) | `python3.10`
`custom.debian10` | 暂无明确时间 | 函数计算 | 71 | | Python3x-PyMongo4x | `acs:fc:{region}:official:layers/Python3x-PyMongo4x/versions/1`
[README.md](docs/Python3x-PyMongo4x/README.md) | `python3.10`
`custom.debian10` | 暂无明确时间 | 函数计算 | 72 | | Python3x-Pandas2x | `acs:fc:{region}:official:layers/Python3x-Pandas2x/versions/1`
[README.md](docs/Python3x-Pandas2x/README.md) | `python3.10`
`custom.debian10` | 暂无明确时间 | 函数计算 | 73 | | Python310-PyTorch2x | `acs:fc:{region}:official:layers/Python310-PyTorch2x/versions/1`
[README.md](docs/Python310-PyTorch2x/README.md) | `python3.10`
`custom.debian10` | 暂无明确时间 | 函数计算 | 74 | | Python39-Pandas1x | `acs:fc:{region}:official:layers/Python39-Pandas1x/versions/2`
[README.md](docs/Python39-Pandas1x/README.md) | `python3.9`
`custom`
`custom.debian10` | 暂无明确时间 | 函数计算 | 75 | | Python39-SciPy1x | `acs:fc:{region}:official:layers/Python39-SciPy1x/versions/2`
[README.md](docs/Python39-SciPy1x/README.md) | `python3.9`
`custom` | 暂无明确时间 | 函数计算 | 76 | | Python36-SciPy1x | `acs:fc:{region}:official:layers/Python36-SciPy1x/versions/4`
[README.md](docs/Python36-SciPy1x/README.md) | `python3.6`
`custom` | 2024-04 | 函数计算 | 77 | | Python39-PyTorch1x | `acs:fc:{region}:official:layers/Python39-PyTorch1x/versions/2`
[README.md](docs/Python39-PyTorch1x/README.md) | `python3.9`
`custom`
`custom.debian10` | 暂无明确时间 | 函数计算 | 78 | | Python36-PyTorch1x | `acs:fc:{region}:official:layers/Python36-PyTorch1x/versions/2`
[README.md](docs/Python36-PyTorch1x/README.md) | `python3.6`
`custom` | 2024-04 | 函数计算 | 79 | | Python3-Flask2x | `acs:fc:{region}:official:layers/Python3-Flask2x/versions/2`
[README.md](docs/Python3-Flask2x/README.md) | `python3.9`
`python3.10`
`custom`
`custom.debian10` | 暂无明确时间 | 函数计算 | 80 | | Nodejs-Puppeteer17x | `acs:fc:{region}:official:layers/Nodejs-Puppeteer17x/versions/3`
[README.md](docs/Nodejs-Puppeteer17x/README.md) | `nodejs16`
`nodejs14`
`custom`
`custom.debian10` | 暂无明确时间 | 函数计算 | 81 | | Nodejs-Puppeteer10x | `acs:fc:{region}:official:layers/Nodejs-Puppeteer10x/versions/2`
[README.md](docs/Nodejs-Puppeteer10x/README.md) | `nodejs14`
`nodejs12`
`nodejs10`
`custom` | 2024-04 | 函数计算 | 82 | | Python3-cx_Oracle8x | `acs:fc:{region}:1940309364339785:layers/Python3-cx_Oracle8x/versions/1`
[github.com/fanzhe/fc-layer/python3-cxOracle](https://github.com/fanzhe328/fc-layer/blob/main/layers/python3-cxOracle/README.md)) | `python3.9`
`python3`
`custom` | 暂无明确时间 | [fanzhe](https://github.com/fanzhe328/fc-layer) | 83 | | PuppeteerLib | `acs:fc:{region}:1940309364339785:layers/PuppeteerLib/versions/1`
[github.com/fanzhe/fc-layer/puppeteer-lib](https://github.com/fanzhe328/fc-layer/blob/main/layers/puppeteer-lib/README.md)) | `custom`
`nodejs16`
`nodejs14`
`nodejs12`
`nodejs10`
`nodejs8` | 暂无明确时间 | [fanzhe](https://github.com/fanzhe328/fc-layer) | 84 | | Python310-Opencv4x | `acs:fc:{region}:official:layers/Python310-Opencv4x/versions/2`
[README.md](docs/Python310-Opencv4x/README.md) | `python3.10`
`custom.debian10` | 暂无明确时间 | 函数计算 | 85 | | SQLite3 | `acs:fc:{region}:official:layers/SQLite3/versions/1`
[README.md](docs/Sqlite3/README.md) | `custom`
`python3.9`
`nodejs14`
`nodejs16`
`java8`
`java11` | 暂无明确时间 | 函数计算 | 86 | | FFmpeg6x | `acs:fc:{region}:official:layers/FFmpeg6x/versions/1`
[README.md](docs/FFmpeg6x/README.md) | `custom`
`custom.debian10`
`python3.10`
`python3.9`
`nodejs14`
`nodejs16`
`java8`
`java11` | 暂无明确时间 | 函数计算 | 87 | | Nodejs-Puppeteer19x | `acs:fc:{region}:official:layers/Nodejs-Puppeteer19x/versions/1`
[README.md](docs/Nodejs-Puppeteer19x/README.md) | `custom.debian10` | 暂无明确时间 | 函数计算 | 88 | | Python38-Playwright | `acs:fc:{region}:official:layers/Python38-Playwright/versions/1`
[README.md](docs/Python38-Playwright/README.md) | `custom.debian10` | 暂无明确时间 | 函数计算 | 89 | | Poppler22x-Pdf2image | `acs:fc:{region}:official:layers/Poppler22x-Pdf2image/versions/1`
[README.md](docs/Poppler22x-Pdf2image/README.md) | `python3.10` | 暂无明确时间 | 函数计算 | 90 | | ServerlessDevs | `acs:fc:{region}:official:layers/ServerlessDevs/versions/4`
[README.md](docs/ServerlessDevs/README.md) | `python3.12`
`custom.debian11`
`custom.debian10`
`python3.10`
`custom`
`python3.9`
`python3`
`nodejs16`
`nodejs14`
`java11`
`java8`
`go1`
`dotnetcore3.1`
`php7.2`
| 暂无明确时间 | 函数计算 | 91 | 92 | 以下公共层由开发者维护。 93 | 94 | | 层名称 | ARN/说明 | 兼容运行时 | 终止支持时间(EOF) | 维护者 | 95 | |---------|------|------|-----|----------| 96 | | Python3x-PyMongo4x | `acs:fc:{region}:1730431480417716:layers/Python3x-PyMongo4x/versions/1`
版本: pymongo==4.6.1 | `custom.debian10`
`python3.10`
`python3.9` | 暂无明确时间 | [fanzhe](https://github.com/fanzhe328/fc-layer) | 97 | 98 | #### Web 框架 99 | 100 | | 层名称 | ARN/说明 | 兼容运行时 | 终止支持时间(EOF) | 维护者 | 101 | |---------|------|------|-----|---------| 102 | | Python3-Bottle | `acs:fc:{region}:1940309364339785:layers/Python3-Bottle/versions/1`
[github.com/fanzhe/fc-layer/python3-bottle](https://github.com/fanzhe328/fc-layer/blob/main/layers/python3-bottle/README.md)) | `custom` | 暂无明确时间 | [fanzhe](https://github.com/fanzhe328/fc-layer) | 103 | | Python3-Django4x | `acs:fc:{region}:1940309364339785:layers/Python3-Django4x/versions/1`
[github.com/fanzhe/fc-layer/python3-Django4x](https://github.com/fanzhe328/fc-layer/blob/main/layers/python3-Django4x/README.md)) | `custom` | 暂无明确时间 | [fanzhe](https://github.com/fanzhe328/fc-layer) | 104 | | Python3-FastAPI | `acs:fc:{region}:1940309364339785:layers/Python3-FastAPI/versions/1`
[github.com/fanzhe/fc-layer/python3-fastapi](https://github.com/fanzhe328/fc-layer/blob/main/layers/python3-fastapi/README.md)) | `custom` | 暂无明确时间 | [fanzhe](https://github.com/fanzhe328/fc-layer) | 105 | | Python3-Pyramid2x | `acs:fc:{region}:1940309364339785:layers/Python3-Pyramid2x/versions/1`
[github.com/fanzhe/fc-layer/python3-pyramid](https://github.com/fanzhe328/fc-layer/blob/main/layers/python3-pyramid/README.md)) | `custom` | 暂无明确时间 | [fanzhe](https://github.com/fanzhe328/fc-layer) | 106 | | Python3-Tornado6x | `acs:fc:{region}:1940309364339785:layers/Python3-Tornado6x/versions/1`
[github.com/fanzhe/fc-layer/python3-tornado6x](https://github.com/fanzhe328/fc-layer/blob/main/layers/python3-tornado6x/README.md)) | `custom` | 暂无明确时间 | [fanzhe](https://github.com/fanzhe328/fc-layer) | 107 | | Python3-WebPy | `acs:fc:{region}:1940309364339785:layers/Python3-WebPy/versions/1`
[github.com/fanzhe/fc-layer/python3-webpy](https://github.com/fanzhe328/fc-layer/blob/main/layers/python3-webpy/README.md)) | `custom` | 暂无明确时间 | [fanzhe](https://github.com/fanzhe328/fc-layer) | 108 | 109 | ### 阿里云 SDK 110 | 111 | | 层名称 | ARN/说明 | 兼容运行时 | 终止支持时间(EOF) | 维护者 | 112 | |---------|------|--------|-----|-------| 113 | | Python310-Aliyun-SDK | `acs:fc:{region}:official:layers/Python310-Aliyun-SDK/versions/2`
阿里云常用 SDK (Python3.10) | `python3.10`
`custom.debian10` | 暂无明确时间 | 函数计算 | 114 | | Aliyun-DataX | `acs:fc:{region}:official:layers/Aliyun-DataX/versions/2`
阿里云 DataWorks数据集成的开源版本(datax_v202210):[README.md](docs/Aliyun-DataX/README.md) | `python2.7`
`python3.6`
`python3.9`
`python3.10`
`custom`
`custom.debian10` | 暂无明确时间 | 函数计算 | 115 | | Python39-Aliyun-SDK | `acs:fc:{region}:official:layers/Python39-Aliyun-SDK/versions/2`
阿里云常用 SDK (Python3.9) | `python3.9`
`custom` | 暂无明确时间 | 函数计算 | 116 | | Python36-Aliyun-SDK | `acs:fc:{region}:official:layers/Python36-Aliyun-SDK/versions/2`
阿里云常用SDK (Python3.6) | `python3.6`
`custom` | 2024-04 | 函数计算 | 117 | | Nodejs-Aliyun-SDK | `acs:fc:{region}:official:layers/Nodejs-Aliyun-SDK/versions/4`
阿里云常用SDK | `nodejs20`
`nodejs18`
`nodejs16`
`nodejs14`
`custom`
`custom.debian10`
`custom.debian11` | 暂无明确时间 | 函数计算 | 118 | 119 | ### 运行时扩展 120 | 121 | | 层名称 | ARN/说明 | 兼容运行时 | 终止支持时间(EOF) | 维护者 | 122 | |---------|------|--------|-----|--------| 123 | | ArmsAgent4x | `acs:fc:{region}:official:layers/ArmsAgent4x/versions/1`
阿里云应用实时监控服务: [README.md](docs/ArmsAgent4x/README.md)| `java8`
`java11`
`custom`
`custom.debian10`
`custom.debian11` | 暂无明确时间 | 函数计算 | 124 | | ArmsAgent273x | `acs:fc:{region}:official:layers/ArmsAgent273x/versions/1`
阿里云应用实时监控服务[ARMS-v2.7.3.5](https://arms.console.aliyun.com/) | `java8`
`java11`
`custom`
`custom.debian10` | 2024-04 | 函数计算 | 125 | | ArmsAgent273x_JDK17 | `acs:fc:{region}:official:layers/ArmsAgent273x_JDK17/versions/1`
阿里云应用实时监控服务[ARMS-v2.7.3.5-jdk17](https://arms.console.aliyun.com/) | `custom`
`custom.debian10` | 2024-04 | 函数计算 | 126 | | Loggie13x | `acs:fc:{region}:official:layers/Loggie13x/versions/1`
云原生日志Agent[Loggie](https://loggie-io.github.io/docs/) | `custom`
`custom.debian10` | 暂无明确时间 | 函数计算 | 127 | 128 | ## 参考 129 | 130 | - [Custom-Runtime 运行时官方文档](https://help.aliyun.com/document_detail/132042.html) 131 | -------------------------------------------------------------------------------- /docs/Aliyun-DataX/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Aliyun-DataX 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Aliyun-DataX/versions/2` | `python2.7`,`python3.6`,`python3.9`,`python3.10`,`custom`,`custom.debian10` | datax_v202210 | 7 | | `acs:fc:{region}:official:layers/Aliyun-DataX/versions/1` | `python2.7`,`python3.6`,`python3.9`,`custom` | datax_v202205 | 8 | 9 | 阿里云 DataWorks 数据集成的开源版本。 10 | 源代码:[DataX](https://github.com/alibaba/DataX) 11 | 12 | ## 快速开始 13 | 可以通过控制台或者 Serverless Devs 工具引用该层。 14 | 15 | 该层的依赖包括: 16 | - Linux 17 | - JDK(1.8以上,推荐1.8) 18 | - Python(2或3都可以) 19 | - Apache Maven 3.x (Compile DataX) 20 | 参考文档:https://github.com/alibaba/DataX/blob/master/userGuid.md 21 | 22 | 函数计算的Python运行时环境中默认包含了JDK,因此可以直接使用,但是Custom-Runtime没有JDK,需要添加JDK依赖层。 23 | 24 | ### 基于 Python Runtime 25 | 基于 Python Runtime使用该层时,需要配置相应的环境变量。 26 | - `PATH` 环境变量需要添加 `/var/fc/lang/java8/bin` 目录 27 | - `JAVA_HOME` 环境变量需要设置为 `/var/fc/lang/java8` 28 | 29 | 示例如下: 30 | ```shell 31 | JAVA_HOME=/var/fc/lang/java8 32 | PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/var/fc/lang/java8/bin 33 | ``` 34 | 35 | ## 应用示例 36 | 详见:[ServerlessDataXTransfer](http://www.devsapp.cn/details.html?name=ServerlessDataXTransfer) 37 | 38 | ## License 39 | [Apache-2](https://github.com/alibaba/DataX/blob/master/license.txt) 40 | 41 | ## 参考信息 42 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/ArmsAgent273x/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】ArmsAgent273x 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/ArmsAgent273x/versions/1` | `java8`,`java11`, `custom`,`custom.debian10` | v2.7.3.5 | 7 | 8 | 阿里云应用实时监控服务[ARMS](https://arms.console.aliyun.com/)。 9 | 10 | 11 | ## 快速开始 12 | 可以通过控制台或者 Serverless Devs 工具引用该层。 13 | 14 | arms jar 包在zip包的目录 `ArmsAgent/arms-bootstrap-1.7.0-SNAPSHOT.jar`下,在函数计算中会解压到 `/opt` 目录下,在函数计算运行环境内,该jar包在目录 `/opt/ArmsAgent/arms-bootstrap-1.7.0-SNAPSHOT.jar`下。 15 | 16 | - Java8 示例应用: [runtime-extension-arms-java8-event](http://www.devsapp.cn/details.html?name=runtime-extension-arms-java8-event) 17 | - Java11 示例应用: [runtime-extension-arms-java11-event](https://www.devsapp.cn/details.html?name=runtime-extension-arms-java11-event) 18 | 19 | ## License 20 | 21 | ## 参考信息 22 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/ArmsAgent273x_JDK17/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】ArmsAgent273x_JDK17 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/ArmsAgent273x_JDK17/versions/1` | `custom`,`custom.debian10` | v2.7.3.5-jdk17 | 7 | 8 | 阿里云应用实时监控服务[ARMS](https://arms.console.aliyun.com/)。 9 | 10 | 11 | ## 快速开始 12 | 可以通过控制台或者 Serverless Devs 工具引用该层。 13 | 14 | arms jar 包在zip包的目录 `ArmsAgent/arms-bootstrap-1.7.0-SNAPSHOT.jar`下,在函数计算中会解压到 `/opt` 目录下,在函数计算运行环境内,该jar包在目录 `/opt/ArmsAgent/arms-bootstrap-1.7.0-SNAPSHOT.jar`下。 15 | 16 | - Java17 示例应用: [runtime-extension-arms-java17-event](http://www.devsapp.cn/details.html?name=runtime-extension-arms-java17-event) 17 | 18 | ## License 19 | 20 | ## 参考信息 21 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/ArmsAgent4x/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】ArmsAgent4x 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/ArmsAgent4x/versions/1` | `java8`,`java11`, `custom`,`custom.debian10`,`custom.debian11` | v4.1.12 | 7 | 8 | 阿里云应用实时监控服务[ARMS](https://arms.console.aliyun.com/)。 9 | 10 | 11 | ## 快速开始 12 | 13 | 可以通过控制台或者 Serverless Devs 工具引用该层。 14 | 15 | arms jar 包在zip包的目录 `ArmsAgent/arms-bootstrap-1.7.0-SNAPSHOT.jar`下,在函数计算中会解压到 `/opt` 目录下,在函数计算运行环境内,该jar包在目录 `/opt/ArmsAgent/arms-bootstrap-1.7.0-SNAPSHOT.jar`下。 16 | 17 | 在java8、java11 运行时中: 18 | 19 | 1. 配置环境变量 `JAVA_TOOL_OPTIONS=/opt/ArmsAgent/arms-bootstrap-1.7.0-SNAPSHOT.jar`。 20 | 2. 设置环境变量 `FC_EXTENSIONS_ARMS_LICENSE_KEY=xxxx` ,值为License Key 信息。关于License Key信息的获取方式,请参见 [获取License Key信息](https://help.aliyun.com/zh/arms/application-monitoring/user-guide/install-the-arms-agent-for-a-java-application-in-function-compute?spm=a2c4g.11186623.0.0.4aef4625AcojfK#arms-cs-k8s-java)。 21 | 22 | ## License 23 | 24 | 25 | ## 参考信息 26 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Dotnet6/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Dotnet6 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Dotnet6/versions/3` | `custom`,`custom.debian10` | ASP.NET Core Runtime 6.0.5 | 7 | 8 | ## 快速开始 9 | 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | 使用`Dotnet6`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 13 | 14 | - `PATH` 环境变量需要添加 `/opt/dotnet6` 目录,注意需要加到`PATH`的最前面 15 | 16 | 示例如下: 17 | 18 | ```shell 19 | PATH=/opt/dotnet6:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 20 | ``` 21 | 22 | ## 应用示例 23 | 24 | 详见: 25 | 26 | ## License 27 | 28 | [.NET is Free](https://dotnet.microsoft.com/en-us/platform/free) 29 | 30 | ## 参考信息 31 | 32 | 维护者:阿里云-函数计算 33 | -------------------------------------------------------------------------------- /docs/Dotnetcore2.1/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Dotnetcore2.1 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Dotnet6/versions/1` | custom-runtime | ASP.NET Core Runtime 6.0.5 | 7 | 8 | ## 快速开始 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | 使用`Dotnet6`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 12 | - `PATH` 环境变量需要添加 `/opt/dotnet6` 目录,注意需要加到`PATH`的最前面 13 | 14 | 示例如下: 15 | ```shell 16 | PATH=/opt/dotnet6:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 17 | ``` 18 | 19 | ## 应用示例 20 | 详见:http://www.devsapp.cn/details.html?name=start-fc-http-aspdotnetcore6 21 | 22 | ## License 23 | [.NET is Free](https://dotnet.microsoft.com/en-us/platform/free) 24 | 25 | ## 参考信息 26 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/FFmpeg6x/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】FFmpeg6x 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/FFmpeg6x/versions/1` | `custom`,`custom.debian10`,`python3.10`,`python3.9`,`nodejs16`,`nodejs14`,`java11`,`java8` | 6.0 | 7 | 8 | ## 快速开始 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | `ffmpeg`等可执行文件zip包的`bin`目录下下,在函数计算中会解压到 `/opt` 目录下,在函数计算运行环境内,`sqlite`的完整路径是`/opt/bin/ffmpeg`。 12 | 13 | ## License 14 | https://ffmpeg.org/legal.html 15 | 16 | ## 参考信息 17 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Go1/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Go1 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |----------------------------------------------------|------|-----------| 6 | | `acs:fc:{region}:official:layers/Go1/versions/1` | `custom.debian10` | go 1.22.3 | 7 | 8 | ## 快速开始 9 | 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | 使用`Go1`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 13 | 14 | - `PATH` 环境变量需要添加 `/opt/go1/bin` 目录,注意需要加到`PATH`的最前面 15 | 16 | 示例如下: 17 | 18 | ```shell 19 | PATH=/opt/go1/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 20 | ``` 21 | 22 | ## 应用示例 23 | 24 | 待补充 25 | 26 | ## License 27 | 28 | [BSD-3](https://github.com/golang/go/blob/master/LICENSE) 29 | 30 | ## 参考信息 31 | 32 | 维护者:阿里云-函数计算 33 | -------------------------------------------------------------------------------- /docs/Go118/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Go118 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |----------------------------------------------------|------|-----------| 6 | | `acs:fc:{region}:official:layers/Go118/versions/1` | custom-runtime | go 1.18.8 | 7 | 8 | ## 快速开始 9 | 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | 使用`Go118`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 13 | 14 | - `PATH` 环境变量需要添加 `/opt/go1.18.8/bin` 目录,注意需要加到`PATH`的最前面 15 | 16 | 示例如下: 17 | 18 | ```shell 19 | PATH=/opt/go1.18.8/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 20 | ``` 21 | 22 | ## 应用示例 23 | 24 | 待补充 25 | 26 | ## License 27 | 28 | [BSD-3](https://github.com/golang/go/blob/master/LICENSE) 29 | 30 | ## 参考信息 31 | 32 | 维护者:阿里云-函数计算 33 | -------------------------------------------------------------------------------- /docs/Java11/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Java11 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Java11/versions/3` | `custom`,`custom.debian10`,`custom.debian11`,`custom.debian12` | openjdk 11.0.13 | 7 | 8 | ## 快速开始 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | 使用`Java11`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 12 | - `PATH` 环境变量需要添加 `/opt/java11/bin` 目录,注意需要加到`PATH`的最前面 13 | - 建议添加 `JAVA_HOME=/opt/java11` 环境变量 14 | 15 | 示例如下: 16 | ```shell 17 | PATH=/opt/java11/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 18 | JAVA_HOME=/opt/java11 19 | ``` 20 | 21 | ## 应用示例 22 | 待补充 23 | 24 | ## License 25 | [GPLv2](https://openjdk.org/legal/gplv2+ce.html) 26 | 27 | ## 参考信息 28 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Java17/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Java17 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Java17/versions/3` | `custom`,`custom.debian10`,`custom.debian11`,`custom.debian12` | openjdk 17.0.2 | 7 | 8 | ## 快速开始 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | 使用`Java17`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 12 | - `PATH` 环境变量需要添加 `/opt/java17/bin` 目录,注意需要加到`PATH`的最前面 13 | - 建议添加 `JAVA_HOME=/opt/java17` 环境变量 14 | 15 | 示例如下: 16 | ```shell 17 | PATH=/opt/java17/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 18 | JAVA_HOME=/opt/java17 19 | ``` 20 | 21 | ## 应用示例 22 | 待补充 23 | 24 | ## License 25 | [GPLv2](https://openjdk.org/legal/gplv2+ce.html) 26 | 27 | ## 参考信息 28 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Java21/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Java21 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Java21/versions/2` | `custom.debian10`,`custom.debian11`,`custom.debian12` | openjdk 21 | 7 | 8 | ## 快速开始 9 | 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | 使用`Java21`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 13 | 14 | - `PATH` 环境变量需要添加 `/opt/java21/bin` 目录,注意需要加到`PATH`的最前面 15 | - 建议添加 `JAVA_HOME=/opt/java21` 环境变量 16 | 17 | 示例如下: 18 | 19 | ```shell 20 | PATH=/opt/java21/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 21 | JAVA_HOME=/opt/java21 22 | ``` 23 | 24 | ## 应用示例 25 | 26 | 待补充 27 | 28 | ## License 29 | 30 | [GPLv2](https://openjdk.org/legal/gplv2+ce.html) 31 | 32 | ## 参考信息 33 | 34 | 维护者:阿里云-函数计算 35 | -------------------------------------------------------------------------------- /docs/Java8/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Java8 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Java8/versions/1` | `custom.debian10` | openjdk 1.8.0_322 | 7 | 8 | ## 快速开始 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | 使用`Java8`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 12 | - `PATH` 环境变量需要添加 `/opt/java8/bin` 目录,注意需要加到`PATH`的最前面 13 | - 建议添加 `JAVA_HOME=/opt/java8` 环境变量 14 | 15 | 示例如下: 16 | ```shell 17 | PATH=/opt/java8/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 18 | JAVA_HOME=/opt/java8 19 | ``` 20 | 21 | ## License 22 | [GPLv2](https://openjdk.org/legal/gplv2+ce.html) 23 | 24 | ## 参考信息 25 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Loggie13x/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Loggie13x 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Loggie13x/versions/1` | `custom`,`custom.debian10` | v1.3.0 | 7 | 8 | 云原生日志Agent[Loggie](https://loggie-io.github.io/docs/)。 9 | 10 | 11 | ## 快速开始 12 | 可以通过控制台或者 Serverless Devs 工具引用该层。 13 | 14 | `loggie`可执行文件zip包的`bin`目录下下,在函数计算中会解压到 `/opt` 目录下,在函数计算运行环境内,`loggie`在目录 `/opt/bin/loggie`下。 15 | 16 | ## License 17 | 18 | ## 参考信息 19 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Nginx/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Nginx 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Nginx/versions/1` | `custom.debian10` | v1.24.0 | 7 | 8 | ## 快速开始 9 | 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | ### 基于 Custom Runtime (Debian10) 13 | 14 | 添加以下环境变量 15 | 16 | ```bash 17 | PATH=/opt/nginx/sbin:$PATH 18 | ``` 19 | 20 | ## License 21 | 22 | 23 | 24 | ## 参考信息 25 | 26 | 维护者:阿里云-函数计算 27 | -------------------------------------------------------------------------------- /docs/Nodejs-Aliyun-SDK/README.md: -------------------------------------------------------------------------------- 1 | # 【官方公共层】Nodejs-Aliyun-SDK 2 | 3 | | ARN | 兼容运行时 | 版本 | 4 | |------------------------------------------------------------------|--------------------------|-------------------| 5 | | `acs:fc:{region}:official:layers/Nodejs-Aliyun-SDK/versions/4` | `nodejs20`, `nodejs18`, `nodejs16`, `nodejs14`, `custom`, `custom.debian10`,`custom.debian11` | | 6 | 7 | ## 快速开始 8 | 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | ### 基于 Nodejs Runtime 12 | 13 | 若选择 Nodejs Runtime,添加该层后可直接使用。 14 | 15 | > 如果环境变量中修改了 `NODE_PATH`,需要添加以下路径 16 | > 17 | > - `NODE_PATH=/opt/nodejs/node_modules` 18 | 19 | ### 基于 Custom Runtime 20 | 21 | 添加以下环境变量 22 | 23 | - `NODE_PATH=/opt/nodejs/node_modules` 24 | 25 | ## License 26 | 27 | - cloudevents: [Apache-2](https://github.com/cloudevents/sdk-javascript/blob/main/LICENSE) 28 | - ali-oss: [MIT](https://github.com/ali-sdk/ali-oss/blob/master/LICENSE) 29 | - aliyun/fc2: [MIT](https://github.com/aliyun/fc-nodejs-sdk/blob/master/LICENSE) 30 | 31 | ## 参考信息 32 | 33 | 维护者:阿里云-函数计算 34 | -------------------------------------------------------------------------------- /docs/Nodejs-Aliyun-SDK/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "@alicloud/fc20230330": "^4.1.6", 4 | "@alicloud/openapi-client": "^0.4.8", 5 | "@alicloud/rds20140815": "^10.0.1", 6 | "@alicloud/r-kvstore20150101": "^4.3.0", 7 | "@alicloud/rocketmq20220801": "^2.1.0", 8 | "@alicloud/alikafka20190916": "^2.4.5", 9 | "@alicloud/amqp-open20191212": "^1.1.1", 10 | "@alicloud/onsmqtt20200420": "^1.2.0", 11 | "cloudevents": "^8.0.2", 12 | "ali-oss": "^6.20.0", 13 | "aliyun-sdk": "^1.12.10", 14 | "@alicloud/fc2": "^2.6.6", 15 | "tablestore": "^5.3.0", 16 | "@alicloud/fc-open20210406": "^2.0.13" 17 | } 18 | } -------------------------------------------------------------------------------- /docs/Nodejs-Puppeteer10x/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Nodejs-Puppeteer10x 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Nodejs-Puppeteer10x/versions/2` | custom-runtime | puppeteer-v10.2.0 | 7 | 8 | ## 快速开始 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | ### 基于 Nodejs Runtime 12 | 若选择 Nodejs Runtime,添加该层后可直接使用。 13 | 14 | > 如果环境变量中修改了 `NODE_PATH` 或 `LD_LIBRARY_PATH`,需要添加以下路径 15 | > - `NODE_PATH=/opt/node_modules:/opt/nodejs/node_modules` 16 | > - `LD_LIBRARY_PATH=/opt/lib` 17 | ### 基于 Custom Runtime 18 | 19 | 添加以下两个环境变量 20 | - `NODE_PATH=/opt/node_modules:/opt/nodejs/node_modules` 21 | - `LD_LIBRARY_PATH=/opt/lib` 22 | 23 | ## License 24 | [Apache-2](https://github.com/puppeteer/puppeteer/blob/main/LICENSE) 25 | 26 | ## 参考信息 27 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Nodejs-Puppeteer17x/README.md: -------------------------------------------------------------------------------- 1 | # 【官方公共层】Nodejs-Puppeteer17x 2 | 3 | | ARN | 兼容运行时 | 版本 | 4 | |------------------------------------------------------------------|--------------------------|-------------------| 5 | | `acs:fc:{region}:official:layers/Nodejs-Puppeteer17x/versions/3` | `nodejs16`, `nodejs14`, `custom.debian10` | puppeteer-v17.1.0 | 6 | | `acs:fc:{region}:official:layers/Nodejs-Puppeteer17x/versions/2` | `nodejs16`, `nodejs14`, `custom` | puppeteer-v17.1.0 | 7 | 8 | ## 快速开始 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | ### 基于 Nodejs Runtime 12 | 若选择 Nodejs Runtime,添加该层后可直接使用。 13 | 14 | > 如果环境变量中修改了 `NODE_PATH` 或 `LD_LIBRARY_PATH`,需要添加以下路径 15 | > - `NODE_PATH=/opt/node_modules:/opt/nodejs/node_modules` 16 | > - `LD_LIBRARY_PATH=/opt/lib` 17 | 18 | ### 基于 Custom Runtime 19 | 20 | 添加以下两个环境变量 21 | - `NODE_PATH=/opt/node_modules:/opt/nodejs/node_modules` 22 | - `LD_LIBRARY_PATH=/opt/lib` 23 | 24 | ## License 25 | [Apache-2](https://github.com/puppeteer/puppeteer/blob/main/LICENSE) 26 | 27 | ## 参考信息 28 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Nodejs-Puppeteer19x/README.md: -------------------------------------------------------------------------------- 1 | # 【官方公共层】Nodejs-Puppeteer19x 2 | 3 | | ARN | 兼容运行时 | 版本 | 4 | |------------------------------------------------------------------|--------------------------|-------------------| 5 | | `acs:fc:{region}:official:layers/Nodejs-Puppeteer19x/versions/1` | `custom.debian10` | puppeteer-v19.8.5 | 6 | 7 | ## 快速开始 8 | 可以通过控制台或者 Serverless Devs 工具引用该层。 9 | 10 | ### 基于 Custom Runtime (Debian10) 11 | 12 | 添加以下两个环境变量 13 | 14 | ```bash 15 | FONTCONFIG_FILE=/opt/etc/fonts.conf 16 | PUPPETEER_CACHE_DIR=/opt/cache/puppeteer 17 | ``` 18 | 19 | ## License 20 | [Apache-2](https://github.com/puppeteer/puppeteer/blob/main/LICENSE) 21 | 22 | ## 参考信息 23 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Nodejs-Puppeteer24x/README.md: -------------------------------------------------------------------------------- 1 | # 【官方公共层】Nodejs-Puppeteer24x 2 | 3 | | ARN | 兼容运行时 | 版本 | 4 | |------------------------------------------------------------------|--------------------------|-------------------| 5 | | `acs:fc:{region}:official:layers/Nodejs-Puppeteer24x/versions/1` | `custom.debian10` | puppeteer-v24.4.0 | 6 | 7 | ## 快速开始 8 | 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | ### 基于 Custom Runtime (Debian12) 12 | 13 | 添加以下两个环境变量 14 | 15 | ```bash 16 | FONTCONFIG_FILE=/opt/etc/fonts.conf 17 | PUPPETEER_CACHE_DIR=/opt/cache/puppeteer 18 | ``` 19 | 20 | ## License 21 | 22 | [Apache-2](https://github.com/puppeteer/puppeteer/blob/main/LICENSE) 23 | 24 | ## 参考信息 25 | 26 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Nodejs12/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Nodejs12 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Nodejs12/versions/1` | custom-runtime | Node.js 12.22.12 | 7 | 8 | ## 快速开始 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | 使用`Nodejs14`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 12 | - `PATH` 环境变量需要添加 `/opt/nodejs12/bin` 目录,注意需要加到`PATH`的最前面 13 | 14 | 示例如下: 15 | ```shell 16 | PATH=/opt/nodejs12/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 17 | ``` 18 | 19 | ## 应用示例 20 | 待补充 21 | 22 | ## License 23 | [Node.js License](https://github.com/nodejs/node/blob/main/LICENSE) 24 | 25 | ## 参考信息 26 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Nodejs14/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Nodejs14 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Nodejs14/versions/1` | custom-runtime | Node.js 14.20.0 | 7 | 8 | ## 快速开始 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | 使用`Nodejs14`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 12 | - `PATH` 环境变量需要添加 `/opt/nodejs14/bin` 目录,注意需要加到`PATH`的最前面 13 | 14 | 示例如下: 15 | ```shell 16 | PATH=/opt/nodejs14/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 17 | ``` 18 | 19 | ## 应用示例 20 | 待补充 21 | 22 | ## License 23 | [Node.js License](https://github.com/nodejs/node/blob/main/LICENSE) 24 | 25 | ## 参考信息 26 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Nodejs16/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Nodejs16 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Nodejs16/versions/1` | custom-runtime | Node.js 16.17.0 | 7 | 8 | ## 快速开始 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | 使用`Nodejs16`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 12 | - `PATH` 环境变量需要添加 `/opt/nodejs16/bin` 目录,注意需要加到`PATH`的最前面 13 | 14 | 示例如下: 15 | ```shell 16 | PATH=/opt/nodejs16/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 17 | ``` 18 | 19 | ## 应用示例 20 | 待补充 21 | 22 | ## License 23 | [Node.js License](https://github.com/nodejs/node/blob/main/LICENSE) 24 | 25 | ## 参考信息 26 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Nodejs17/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Nodejs17 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Nodejs17/versions/1` | custom-runtime | Node.js 17.9.1 | 7 | 8 | ## 快速开始 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | 使用`Nodejs17`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 12 | - `PATH` 环境变量需要添加 `/opt/nodejs17/bin` 目录,注意需要加到`PATH`的最前面 13 | 14 | 示例如下: 15 | ```shell 16 | PATH=/opt/nodejs17/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 17 | ``` 18 | 19 | ## 应用示例 20 | 待补充 21 | 22 | ## License 23 | [Node.js License](https://github.com/nodejs/node/blob/main/LICENSE) 24 | 25 | ## 参考信息 26 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Nodejs18/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Nodejs18 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Nodejs18/versions/3` | `custom.debian10` | Node.js 18.19.0 | 7 | 8 | ## 快速开始 9 | 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | 使用`Nodejs18`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 13 | 14 | - `PATH` 环境变量需要添加 `/opt/nodejs18/bin` 目录,注意需要加到`PATH`的最前面 15 | 16 | 示例如下: 17 | 18 | ```shell 19 | PATH=/opt/nodejs18/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 20 | ``` 21 | 22 | ## 应用示例 23 | 24 | 待补充 25 | 26 | ## License 27 | 28 | [Node.js License](https://github.com/nodejs/node/blob/main/LICENSE) 29 | 30 | ## 参考信息 31 | 32 | 维护者:阿里云-函数计算 33 | -------------------------------------------------------------------------------- /docs/Nodejs20/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Nodejs20 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Nodejs20/versions/3` | `custom.debian10`,`custom.debian11`,`custom.debian12` | Node.js 20.11.0 | 7 | 8 | ## 快速开始 9 | 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | 使用`Nodejs20`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 13 | 14 | - `PATH` 环境变量需要添加 `/opt/nodejs20/bin` 目录,注意需要加到`PATH`的最前面 15 | 16 | 示例如下: 17 | 18 | ```shell 19 | PATH=/opt/nodejs20/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 20 | ``` 21 | 22 | ## 应用示例 23 | 24 | 待补充 25 | 26 | ## License 27 | 28 | [Node.js License](https://github.com/nodejs/node/blob/main/LICENSE) 29 | 30 | ## 参考信息 31 | 32 | 维护者:阿里云-函数计算 33 | -------------------------------------------------------------------------------- /docs/Nodejs22/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Nodejs22 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Nodejs22/versions/2` | `custom.debian11`,`custom.debian12` | Node.js 22.14.0 | 7 | 8 | ## 快速开始 9 | 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | 使用`Nodejs22`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 13 | 14 | - `PATH` 环境变量需要添加 `/opt/nodejs22/bin` 目录,注意需要加到`PATH`的最前面 15 | 16 | 示例如下: 17 | 18 | ```shell 19 | PATH=/opt/nodejs22/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 20 | ``` 21 | 22 | ## 应用示例 23 | 24 | 待补充 25 | 26 | ## License 27 | 28 | [Node.js License](https://github.com/nodejs/node/blob/main/LICENSE) 29 | 30 | ## 参考信息 31 | 32 | 维护者:阿里云-函数计算 33 | -------------------------------------------------------------------------------- /docs/PHP72/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## 2024-01-17 Version 6 2 | 3 | ARN: `acs:fc:{region}:official:layers/PHP72/versions/5` 4 | 5 | - disable Xdebug 6 | - update openswoole to swoole 7 | 8 | ```ini 9 | [PHP Modules] 10 | bcmath 11 | bz2 12 | calendar 13 | Core 14 | ctype 15 | curl 16 | date 17 | dom 18 | exif 19 | fileinfo 20 | filter 21 | ftp 22 | gd 23 | gettext 24 | gmp 25 | hash 26 | iconv 27 | imagick 28 | json 29 | libxml 30 | mbstring 31 | memcached 32 | mysqli 33 | mysqlnd 34 | openssl 35 | pcntl 36 | pcre 37 | PDO 38 | pdo_mysql 39 | Phar 40 | posix 41 | protobuf 42 | readline 43 | redis 44 | Reflection 45 | session 46 | shmop 47 | SimpleXML 48 | soap 49 | sockets 50 | SPL 51 | standard 52 | swoole 53 | sysvmsg 54 | sysvsem 55 | sysvshm 56 | tokenizer 57 | xml 58 | xmlreader 59 | xmlrpc 60 | xmlwriter 61 | Zend OPcache 62 | zip 63 | zlib 64 | 65 | [Zend Modules] 66 | Zend OPcache 67 | ``` 68 | 69 | ## 2023-01-05 Version 4 70 | 71 | ARN: `acs:fc:{region}:official:layers/PHP72/versions/4` 72 | 73 | - enable gd jpeg 74 | 75 | ```ini 76 | [PHP Modules] 77 | bcmath 78 | bz2 79 | calendar 80 | Core 81 | ctype 82 | curl 83 | date 84 | dom 85 | exif 86 | fileinfo 87 | filter 88 | ftp 89 | gd 90 | gettext 91 | gmp 92 | hash 93 | iconv 94 | imagick 95 | json 96 | libxml 97 | mbstring 98 | memcached 99 | mysqli 100 | mysqlnd 101 | openssl 102 | openswoole 103 | pcntl 104 | pcre 105 | PDO 106 | pdo_mysql 107 | Phar 108 | posix 109 | protobuf 110 | readline 111 | redis 112 | Reflection 113 | session 114 | shmop 115 | SimpleXML 116 | soap 117 | sockets 118 | SPL 119 | standard 120 | sysvmsg 121 | sysvsem 122 | sysvshm 123 | tokenizer 124 | xdebug 125 | xml 126 | xmlreader 127 | xmlrpc 128 | xmlwriter 129 | Zend OPcache 130 | zip 131 | zlib 132 | 133 | [Zend Modules] 134 | Xdebug 135 | Zend OPcache 136 | ``` 137 | 138 | ## 2022-09-15 Version 3 139 | 140 | ARN: `acs:fc:{region}:official:layers/PHP72/versions/3` 141 | 142 | - add some extensions 143 | 144 | ```ini 145 | [PHP Modules] 146 | bcmath 147 | bz2 148 | calendar 149 | Core 150 | ctype 151 | curl 152 | date 153 | dom 154 | exif 155 | fileinfo 156 | filter 157 | ftp 158 | gd 159 | gettext 160 | gmp 161 | hash 162 | iconv 163 | imagick 164 | json 165 | libxml 166 | mbstring 167 | memcached 168 | mysqli 169 | mysqlnd 170 | openssl 171 | openswoole 172 | pcntl 173 | pcre 174 | PDO 175 | pdo_mysql 176 | Phar 177 | posix 178 | protobuf 179 | readline 180 | redis 181 | Reflection 182 | session 183 | shmop 184 | SimpleXML 185 | soap 186 | sockets 187 | SPL 188 | standard 189 | sysvmsg 190 | sysvsem 191 | sysvshm 192 | tokenizer 193 | xdebug 194 | xml 195 | xmlreader 196 | xmlrpc 197 | xmlwriter 198 | Zend OPcache 199 | zip 200 | zlib 201 | 202 | [Zend Modules] 203 | Xdebug 204 | Zend OPcache 205 | ``` 206 | 207 | ## 2022-09-01 Version 2 208 | 209 | ARN: `acs:fc:{region}:official:layers/PHP72/versions/2` 210 | -------------------------------------------------------------------------------- /docs/PHP72/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】PHP72 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/PHP72/versions/6` | custom-runtime | PHP 7.2.8 | 7 | 8 | ## 快速开始 9 | 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | 使用`PHP72`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 13 | 14 | - `PATH` 环境变量需要添加 `/opt/php7.2/bin` 和 `/opt/php7.2/sbin` 目录,注意需要加到`PATH`的最前面 15 | - `LD_LIBRARY_PATH` 环境变量需要添加 `/opt/php7.2/lib`目录 16 | 17 | 示例如下: 18 | 19 | ```shell 20 | PATH=/opt/php7.2/bin:/opt/php7.2/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 21 | LD_LIBRARY_PATH=/code:/code/lib:/usr/local/lib:/opt/lib:/opt/php7.2/lib 22 | ``` 23 | 24 | ## 应用示例 25 | 26 | 待补充 27 | 28 | ## License 29 | 30 | [PHP License v3.01](https://www.php.net/license/3_01.txt) 31 | 32 | ## 参考信息 33 | 34 | 维护者:阿里云-函数计算 35 | -------------------------------------------------------------------------------- /docs/PHP80-Debian10/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | 2 | # 2024-04-28 Version 2 3 | 4 | ARN: `acs:fc:{region}:official:layers/PHP80-Debian10/versions/2` 5 | 6 | - add module: 'intl', 'mbstring', 'mongodb', 'mcrypt' 7 | 8 | ```ini 9 | [PHP Modules] 10 | bcmath 11 | bz2 12 | calendar 13 | Core 14 | ctype 15 | curl 16 | date 17 | dom 18 | exif 19 | FFI 20 | fileinfo 21 | filter 22 | ftp 23 | gd 24 | gettext 25 | gmp 26 | hash 27 | iconv 28 | imagick 29 | intl 30 | json 31 | libxml 32 | mbstring 33 | mcrypt 34 | memcached 35 | mongodb 36 | mysqli 37 | mysqlnd 38 | openssl 39 | pcntl 40 | pcre 41 | PDO 42 | pdo_mysql 43 | pdo_sqlite 44 | Phar 45 | posix 46 | protobuf 47 | readline 48 | redis 49 | Reflection 50 | session 51 | shmop 52 | SimpleXML 53 | soap 54 | sockets 55 | SPL 56 | sqlite3 57 | standard 58 | swoole 59 | sysvmsg 60 | sysvsem 61 | sysvshm 62 | tokenizer 63 | xml 64 | xmlreader 65 | xmlrpc 66 | xmlwriter 67 | Zend OPcache 68 | zip 69 | zlib 70 | 71 | [Zend Modules] 72 | Zend OPcache 73 | ``` 74 | 75 | # 2024-04-15 Version 1 76 | 77 | ARN: `acs:fc:{region}:official:layers/PHP80-Debian10/versions/1` 78 | 79 | ```ini 80 | [PHP Modules] 81 | bcmath 82 | bz2 83 | calendar 84 | Core 85 | ctype 86 | curl 87 | date 88 | dom 89 | exif 90 | fileinfo 91 | filter 92 | ftp 93 | gd 94 | gettext 95 | gmp 96 | hash 97 | iconv 98 | imagick 99 | json 100 | libxml 101 | mbstring 102 | memcached 103 | mysqli 104 | mysqlnd 105 | openssl 106 | swoole 107 | pcntl 108 | pcre 109 | PDO 110 | pdo_mysql 111 | pdo_sqlite 112 | Phar 113 | posix 114 | protobuf 115 | readline 116 | redis 117 | Reflection 118 | session 119 | shmop 120 | SimpleXML 121 | soap 122 | sockets 123 | SPL 124 | sqlite3 125 | standard 126 | sysvmsg 127 | sysvsem 128 | sysvshm 129 | tokenizer 130 | xdebug 131 | xml 132 | xmlreader 133 | xmlrpc 134 | xmlwriter 135 | Zend OPcache 136 | zip 137 | zlib 138 | 139 | [Zend Modules] 140 | Zend OPcache 141 | ``` 142 | -------------------------------------------------------------------------------- /docs/PHP80-Debian10/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】PHP80-Debian10 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/PHP80-Debian10/versions/2` | `custom.debian10` | PHP 8.0.29 | 7 | 8 | ## 快速开始 9 | 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | 使用`PHP80`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 13 | 14 | - `PATH` 环境变量需要添加 `/opt/php8.0/bin` 和 `/opt/php8.0/sbin` 目录,注意需要加到`PATH`的最前面 15 | - `LD_LIBRARY_PATH` 环境变量需要添加 `/opt/php8.0/lib`目录 16 | 17 | 示例如下: 18 | 19 | ```shell 20 | PATH=/opt/php8.0/bin:/opt/php8.0/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 21 | LD_LIBRARY_PATH=/code:/code/lib:/usr/local/lib:/opt/lib:/opt/php8.0/lib 22 | ``` 23 | 24 | ## 应用示例 25 | 26 | 待补充 27 | 28 | ## License 29 | 30 | [PHP License v3.01](https://www.php.net/license/3_01.txt) 31 | 32 | ## 参考信息 33 | 34 | 维护者:阿里云-函数计算 35 | -------------------------------------------------------------------------------- /docs/PHP80/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## 2024-01-17 Version 7 2 | 3 | ARN: `acs:fc:{region}:official:layers/PHP80/versions/6` 4 | 5 | - disable Xdebug 6 | - update openswoole to swoole 7 | 8 | ```ini 9 | [PHP Modules] 10 | bcmath 11 | bz2 12 | calendar 13 | Core 14 | ctype 15 | curl 16 | date 17 | dom 18 | exif 19 | FFI 20 | fileinfo 21 | filter 22 | ftp 23 | gd 24 | gettext 25 | gmp 26 | hash 27 | iconv 28 | imagick 29 | json 30 | libxml 31 | mbstring 32 | memcached 33 | mysqli 34 | mysqlnd 35 | openssl 36 | pcntl 37 | pcre 38 | PDO 39 | pdo_mysql 40 | pdo_sqlite 41 | Phar 42 | posix 43 | protobuf 44 | readline 45 | redis 46 | Reflection 47 | session 48 | shmop 49 | SimpleXML 50 | soap 51 | sockets 52 | SPL 53 | sqlite3 54 | standard 55 | swoole 56 | sysvmsg 57 | sysvsem 58 | sysvshm 59 | tokenizer 60 | xml 61 | xmlreader 62 | xmlrpc 63 | xmlwriter 64 | Zend OPcache 65 | zip 66 | zlib 67 | 68 | [Zend Modules] 69 | Zend OPcache 70 | ``` 71 | 72 | ## 2023-01-05 Version 5 73 | 74 | ARN: `acs:fc:{region}:official:layers/PHP80/versions/5` 75 | 76 | - enable ffi 77 | - enable gd jpeg 78 | 79 | ```ini 80 | [PHP Modules] 81 | bcmath 82 | bz2 83 | calendar 84 | Core 85 | ctype 86 | curl 87 | date 88 | dom 89 | exif 90 | FFI 91 | fileinfo 92 | filter 93 | ftp 94 | gd 95 | gettext 96 | gmp 97 | hash 98 | iconv 99 | imagick 100 | json 101 | libxml 102 | mbstring 103 | memcached 104 | mysqli 105 | mysqlnd 106 | openssl 107 | openswoole 108 | pcntl 109 | pcre 110 | PDO 111 | pdo_mysql 112 | pdo_sqlite 113 | Phar 114 | posix 115 | protobuf 116 | readline 117 | redis 118 | Reflection 119 | session 120 | shmop 121 | SimpleXML 122 | soap 123 | sockets 124 | SPL 125 | sqlite3 126 | standard 127 | sysvmsg 128 | sysvsem 129 | sysvshm 130 | tokenizer 131 | xdebug 132 | xml 133 | xmlreader 134 | xmlrpc 135 | xmlwriter 136 | Zend OPcache 137 | zip 138 | zlib 139 | 140 | [Zend Modules] 141 | Xdebug 142 | Zend OPcache 143 | ``` 144 | 145 | ## 2022-09-15 Version 4 146 | 147 | ARN: `acs:fc:{region}:official:layers/PHP80/versions/4` 148 | 149 | - enable php-fpm (/opt/php8.0/sbin/php-fpm) 150 | 151 | ## 2022-09-15 Version 3 152 | 153 | ARN: `acs:fc:{region}:official:layers/PHP80/versions/3` 154 | 155 | - add some extensions 156 | 157 | ```ini 158 | [PHP Modules] 159 | bcmath 160 | bz2 161 | calendar 162 | Core 163 | ctype 164 | curl 165 | date 166 | dom 167 | exif 168 | fileinfo 169 | filter 170 | ftp 171 | gd 172 | gettext 173 | gmp 174 | hash 175 | iconv 176 | imagick 177 | json 178 | libxml 179 | mbstring 180 | memcached 181 | mysqli 182 | mysqlnd 183 | openssl 184 | openswoole 185 | pcntl 186 | pcre 187 | PDO 188 | pdo_mysql 189 | pdo_sqlite 190 | Phar 191 | posix 192 | protobuf 193 | readline 194 | redis 195 | Reflection 196 | session 197 | shmop 198 | SimpleXML 199 | soap 200 | sockets 201 | SPL 202 | sqlite3 203 | standard 204 | sysvmsg 205 | sysvsem 206 | sysvshm 207 | tokenizer 208 | xdebug 209 | xml 210 | xmlreader 211 | xmlrpc 212 | xmlwriter 213 | Zend OPcache 214 | zip 215 | zlib 216 | 217 | [Zend Modules] 218 | Xdebug 219 | Zend OPcache 220 | ``` 221 | 222 | ## 2022-09-01 Version 2 223 | 224 | ARN: `acs:fc:{region}:official:layers/PHP80/versions/2` 225 | -------------------------------------------------------------------------------- /docs/PHP80/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】PHP80 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/PHP80/versions/7` | custom-runtime | PHP 8.0.22 | 7 | 8 | ## 快速开始 9 | 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | 使用`PHP80`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 13 | 14 | - `PATH` 环境变量需要添加 `/opt/php8.0/bin` 和 `/opt/php8.0/sbin` 目录,注意需要加到`PATH`的最前面 15 | - `LD_LIBRARY_PATH` 环境变量需要添加 `/opt/php8.0/lib`目录 16 | 17 | 示例如下: 18 | 19 | ```shell 20 | PATH=/opt/php8.0/bin:/opt/php8.0/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 21 | LD_LIBRARY_PATH=/code:/code/lib:/usr/local/lib:/opt/lib:/opt/php8.0/lib 22 | ``` 23 | 24 | ## 应用示例 25 | 26 | 待补充 27 | 28 | ## License 29 | 30 | [PHP License v3.01](https://www.php.net/license/3_01.txt) 31 | 32 | ## 参考信息 33 | 34 | 维护者:阿里云-函数计算 35 | -------------------------------------------------------------------------------- /docs/PHP81-Debian10/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | 2 | # 2024-05-06 Version 1 3 | 4 | ARN: `acs:fc:{region}:official:layers/PHP81-Debian10/versions/1` 5 | 6 | ```ini 7 | [PHP Modules] 8 | bcmath 9 | bz2 10 | calendar 11 | Core 12 | ctype 13 | curl 14 | date 15 | dom 16 | exif 17 | FFI 18 | fileinfo 19 | filter 20 | ftp 21 | gd 22 | gettext 23 | gmp 24 | hash 25 | iconv 26 | imagick 27 | intl 28 | json 29 | libxml 30 | mbstring 31 | mcrypt 32 | memcached 33 | mongodb 34 | mysqli 35 | mysqlnd 36 | openssl 37 | pcntl 38 | pcre 39 | PDO 40 | pdo_mysql 41 | pdo_sqlite 42 | Phar 43 | posix 44 | protobuf 45 | readline 46 | redis 47 | Reflection 48 | session 49 | shmop 50 | SimpleXML 51 | soap 52 | sockets 53 | SPL 54 | sqlite3 55 | standard 56 | swoole 57 | sysvmsg 58 | sysvsem 59 | sysvshm 60 | tokenizer 61 | xml 62 | xmlreader 63 | xmlrpc 64 | xmlwriter 65 | Zend OPcache 66 | zip 67 | zlib 68 | 69 | [Zend Modules] 70 | Zend OPcache 71 | ``` 72 | -------------------------------------------------------------------------------- /docs/PHP81-Debian10/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】PHP81-Debian10 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/PHP81-Debian10/versions/1` | `custom.debian10` | PHP 8.1.28 | 7 | 8 | ## 快速开始 9 | 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | 使用`PHP81-Debian10`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 13 | 14 | - `PATH` 环境变量需要添加 `/opt/php8.1/bin` 和 `/opt/php8.1/sbin` 目录,注意需要加到`PATH`的最前面 15 | - `LD_LIBRARY_PATH` 环境变量需要添加 `/opt/php8.1/lib`目录 16 | 17 | 示例如下: 18 | 19 | ```shell 20 | PATH=/opt/php8.1/bin:/opt/php8.1/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 21 | LD_LIBRARY_PATH=/code:/code/lib:/usr/local/lib:/opt/lib:/opt/php8.1/lib 22 | ``` 23 | 24 | ## 应用示例 25 | 26 | 待补充 27 | 28 | ## License 29 | 30 | [PHP License v3.01](https://www.php.net/license/3_01.txt) 31 | 32 | ## 参考信息 33 | 34 | 维护者:阿里云-函数计算 35 | -------------------------------------------------------------------------------- /docs/PHP81/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | 2 | ## 2024-01-11 Version 6 3 | 4 | ARN: `acs:fc:{region}:official:layers/PHP81/versions/6` 5 | 6 | - disable Xdebug 7 | - update openswoole to swoole 8 | 9 | ```ini 10 | [PHP Modules] 11 | bcmath 12 | bz2 13 | calendar 14 | Core 15 | ctype 16 | curl 17 | date 18 | dom 19 | exif 20 | fileinfo 21 | filter 22 | ftp 23 | gd 24 | gettext 25 | gmp 26 | hash 27 | iconv 28 | imagick 29 | json 30 | libxml 31 | mbstring 32 | memcached 33 | mysqli 34 | mysqlnd 35 | openssl 36 | openswoole 37 | pcntl 38 | pcre 39 | PDO 40 | pdo_mysql 41 | pdo_sqlite 42 | Phar 43 | posix 44 | protobuf 45 | readline 46 | redis 47 | Reflection 48 | session 49 | shmop 50 | SimpleXML 51 | soap 52 | sockets 53 | SPL 54 | sqlite3 55 | standard 56 | sysvmsg 57 | sysvsem 58 | sysvshm 59 | tokenizer 60 | xdebug 61 | xml 62 | xmlreader 63 | xmlrpc 64 | xmlwriter 65 | Zend OPcache 66 | zip 67 | zlib 68 | 69 | [Zend Modules] 70 | Xdebug 71 | Zend OPcache 72 | ``` 73 | 74 | ## 2023-01-05 Version 5 75 | 76 | ARN: `acs:fc:{region}:official:layers/PHP81/versions/5` 77 | 78 | - enable ffi 79 | - enable gd jpeg 80 | 81 | ```ini 82 | [PHP Modules] 83 | bcmath 84 | bz2 85 | calendar 86 | Core 87 | ctype 88 | curl 89 | date 90 | dom 91 | exif 92 | fileinfo 93 | filter 94 | ftp 95 | gd 96 | gettext 97 | gmp 98 | hash 99 | iconv 100 | imagick 101 | json 102 | libxml 103 | mbstring 104 | memcached 105 | mysqli 106 | mysqlnd 107 | openssl 108 | openswoole 109 | pcntl 110 | pcre 111 | PDO 112 | pdo_mysql 113 | pdo_sqlite 114 | Phar 115 | posix 116 | protobuf 117 | readline 118 | redis 119 | Reflection 120 | session 121 | shmop 122 | SimpleXML 123 | soap 124 | sockets 125 | SPL 126 | sqlite3 127 | standard 128 | sysvmsg 129 | sysvsem 130 | sysvshm 131 | tokenizer 132 | xdebug 133 | xml 134 | xmlreader 135 | xmlrpc 136 | xmlwriter 137 | Zend OPcache 138 | zip 139 | zlib 140 | 141 | [Zend Modules] 142 | Xdebug 143 | Zend OPcache 144 | ``` 145 | 146 | ## 2022-09-15 Version 4 147 | 148 | ARN: `acs:fc:{region}:official:layers/PHP81/versions/4` 149 | 150 | - enable php-fpm (/opt/php8.1/sbin/php-fpm) 151 | 152 | ## 2022-09-15 Version 3 153 | 154 | ARN: `acs:fc:{region}:official:layers/PHP81/versions/3` 155 | 156 | - add some extensions 157 | 158 | ```ini 159 | [PHP Modules] 160 | bcmath 161 | bz2 162 | calendar 163 | Core 164 | ctype 165 | curl 166 | date 167 | dom 168 | exif 169 | fileinfo 170 | filter 171 | ftp 172 | gd 173 | gettext 174 | gmp 175 | hash 176 | iconv 177 | imagick 178 | json 179 | libxml 180 | mbstring 181 | memcached 182 | mysqli 183 | mysqlnd 184 | openssl 185 | openswoole 186 | pcntl 187 | pcre 188 | PDO 189 | pdo_mysql 190 | pdo_sqlite 191 | Phar 192 | posix 193 | protobuf 194 | readline 195 | redis 196 | Reflection 197 | session 198 | shmop 199 | SimpleXML 200 | soap 201 | sockets 202 | SPL 203 | sqlite3 204 | standard 205 | sysvmsg 206 | sysvsem 207 | sysvshm 208 | tokenizer 209 | xdebug 210 | xml 211 | xmlreader 212 | xmlrpc 213 | xmlwriter 214 | Zend OPcache 215 | zip 216 | zlib 217 | 218 | [Zend Modules] 219 | Xdebug 220 | Zend OPcache 221 | ``` 222 | 223 | ## 2022-09-01 Version 2 224 | 225 | ARN: `acs:fc:{region}:official:layers/PHP81/versions/2` 226 | -------------------------------------------------------------------------------- /docs/PHP81/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】PHP81 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/PHP81/versions/6` | custom-runtime | PHP 8.1.9 | 7 | 8 | ## 快速开始 9 | 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | 使用`PHP81`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 13 | 14 | - `PATH` 环境变量需要添加 `/opt/php8.1/bin` 和 `/opt/php8.1/sbin` 目录,注意需要加到`PATH`的最前面 15 | - `LD_LIBRARY_PATH` 环境变量需要添加 `/opt/php8.1/lib`目录 16 | 17 | 示例如下: 18 | 19 | ```shell 20 | PATH=/opt/php8.1/bin:/opt/php8.1/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 21 | LD_LIBRARY_PATH=/code:/code/lib:/usr/local/lib:/opt/lib:/opt/php8.1/lib 22 | ``` 23 | 24 | ### 开启XDebug 25 | 26 | XDebug 扩展默认关闭,若要启用,需要在php.ini 文件中配置。 27 | 28 | #### 方法1 29 | 30 | 在启动php进程前执行 31 | 32 | ```bash 33 | echo "zend_extension=xdebug" > /opt/php8.1/etc/php/conf.d/docker-php-ext-xdebug.ini 34 | ``` 35 | 36 | #### 方法2 37 | 38 | 配置php.ini 文件,并在文件中开启 `zend_extension=xdebug`, 在启动php进程前,将配置文件拷贝到目录 `/opt/php8.1/etc/php/`. 39 | 40 | ## 应用示例 41 | 42 | 待补充 43 | 44 | ## License 45 | 46 | [PHP License v3.01](https://www.php.net/license/3_01.txt) 47 | 48 | ## 参考信息 49 | 50 | 维护者:阿里云-函数计算 51 | -------------------------------------------------------------------------------- /docs/Poppler22x-Pdf2image/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Poppler22x-Pdf2image 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Poppler22x-Pdf2image/versions/1` | `python3.10` | pdf2image-1.16.3, poppler-22.12.0 | 7 | 8 | ## 快速开始 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | ## License 12 | GPLv2 13 | 14 | ## 参考信息 15 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Python3-Flask2x/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python3-Flask2x 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python3-Flask2x/versions/2` | `custom`,`custom.debian10`,`python3.9`,`python3.10` | flask-2.2.2| 7 | 8 | ## 快速开始 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | ### 基于 Python Runtime 12 | 若选择 Python3.9/Python3.10 Runtime,添加该层后可直接引用 13 | 14 | ### 基于 Custom Runtime 15 | 使用该层时,需要 Python3.7 或以上版本,可参考 Python3.x 公共层。 16 | 17 | ## License 18 | [BSD-3](https://github.com/pallets/flask/blob/main/LICENSE.rst) 19 | 20 | ## 参考信息 21 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Python3-Flask2x/requirements.txt: -------------------------------------------------------------------------------- 1 | click==8.1.3 2 | Flask==2.2.2 3 | importlib-metadata==5.0.0 4 | itsdangerous==2.1.2 5 | Jinja2==3.1.2 6 | MarkupSafe==2.1.1 7 | Werkzeug==2.2.2 8 | zipp==3.10.0 -------------------------------------------------------------------------------- /docs/Python3-Flask3x/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python3-Flask3x 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |--------------------------------------------------------------|---------------------------------------------|-------------| 6 | | `acs:fc:{region}:official:layers/Python3-Flask3x/versions/2` | `custom.debian12`,`custom.debian11`,`custom.debian10`,`python3.12` | flask 3.0.3 | 7 | 8 | ## 快速开始 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | ### 基于 Python Runtime 12 | 若选择 Python3.12 Runtime,添加该层后可直接引用 13 | 14 | ### 基于 Custom Runtime 15 | 使用该层时,需要 Python3.12 或以上版本,可参考 Python3.x 公共层。 16 | 17 | ## License 18 | [BSD-3](https://github.com/pallets/flask/blob/main/LICENSE.rst) 19 | 20 | ## 参考信息 21 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Python3-Flask3x/requirements.txt: -------------------------------------------------------------------------------- 1 | click==8.1.3 2 | Flask==3.0.3 3 | importlib-metadata==5.0.0 4 | itsdangerous==2.1.2 5 | Jinja2==3.1.2 6 | MarkupSafe==2.1.1 7 | Werkzeug==3.0.0 8 | zipp==3.10.0 -------------------------------------------------------------------------------- /docs/Python310-Aliyun-SDK/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python310-Aliyun-SDK 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python310-Aliyun-SDK/versions/2` | `python3.10`, `custom.debian10` | [requirements.txt](./requirements.txt) | 7 | 8 | ## 快速开始 9 | 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | ### 基于 Python Runtime 13 | 14 | 若选择 Python3.10 Runtime,添加该层后可直接引用 15 | 16 | ### 基于 Custom Runtime (debian10) 17 | 18 | 使用该层时,需要添加以下环境变量 19 | 20 | - `PYTHONPATH`环境变量需要添加 `/opt/python` 目录 21 | - `PATH` 环境变量需要添加 `/var/fc/lang/python3.10/bin` 目录,注意需要加到`PATH`的最前面 22 | 23 | 示例如下: 24 | 25 | ```shell 26 | PYTHONPATH=/opt/python 27 | PATH=/var/fc/lang/python3.10/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 28 | ``` 29 | 30 | ## License 31 | 32 | 无 33 | 34 | ## 参考信息 35 | 36 | 维护者:阿里云-函数计算 37 | -------------------------------------------------------------------------------- /docs/Python310-Aliyun-SDK/requirements.txt: -------------------------------------------------------------------------------- 1 | aiohappyeyeballs==2.4.4 2 | aiohttp==3.11.11 3 | aiosignal==1.3.2 4 | alibabacloud-credentials==0.3.6 5 | alibabacloud-endpoint-util==0.0.3 6 | alibabacloud-fc-open20210406==2.0.11 7 | alibabacloud-fc20230330==4.1.6 8 | alibabacloud-gateway-fc-util==0.0.4 9 | alibabacloud-gateway-spi==0.0.2 10 | alibabacloud-imagesearch20210501==1.2.3 11 | alibabacloud-imageseg20191230==3.0.1 12 | alibabacloud-openapi-util==0.2.2 13 | alibabacloud-openplatform20191219==2.0.0 14 | alibabacloud-oss-sdk==0.1.0 15 | alibabacloud-oss-util==0.0.6 16 | alibabacloud-sts20150401==1.1.4 17 | alibabacloud-tea==0.4.0 18 | alibabacloud-tea-fileform==0.0.5 19 | alibabacloud-tea-openapi==0.3.12 20 | alibabacloud-tea-util==0.3.13 21 | alibabacloud-tea-xml==0.0.2 22 | aliyun-fc2==2.5.2 23 | aliyun-log-python-sdk==0.9.13 24 | aliyun-mns-sdk==1.2.1 25 | aliyun-python-sdk-cdn==3.8.8 26 | aliyun-python-sdk-core==2.16.0 27 | aliyun-python-sdk-core-v3==2.13.33 28 | aliyun-python-sdk-dds==3.7.21 29 | aliyun-python-sdk-ecs==4.24.79 30 | aliyun-python-sdk-fnf==1.8.3 31 | aliyun-python-sdk-imm==2.1.17 32 | aliyun-python-sdk-iot==8.59.0 33 | aliyun-python-sdk-kms==2.16.5 34 | aliyun-python-sdk-ram==3.3.0 35 | aliyun-python-sdk-rds==2.7.49 36 | aliyun-python-sdk-sts==3.1.2 37 | aliyun-python-sdk-vpc==3.0.46 38 | async-timeout==5.0.1 39 | attrs==24.3.0 40 | certifi==2024.12.14 41 | cffi==1.17.1 42 | charset-normalizer==3.4.1 43 | cloudevents==1.11.0 44 | cryptography==44.0.0 45 | dateparser==1.2.0 46 | deprecation==2.1.0 47 | elastic-transport==8.17.0 48 | elasticsearch==8.17.0 49 | frozenlist==1.5.0 50 | idna==3.10 51 | jmespath==0.10.0 52 | multidict==6.1.0 53 | packaging==24.2 54 | propcache==0.2.1 55 | protobuf==5.29.2 56 | pycparser==2.22 57 | pycryptodome==3.21.0 58 | pyOpenSSL==24.3.0 59 | python-dateutil==2.9.0.post0 60 | pytz==2024.2 61 | regex==2024.11.6 62 | requests==2.32.3 63 | six==1.17.0 64 | typing_extensions==4.12.2 65 | tzlocal==5.2 66 | urllib3==2.3.0 67 | websocket-client==1.8.0 68 | yarl==1.18.3 -------------------------------------------------------------------------------- /docs/Python310-OSS2/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python310-OSS2 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python310-OSS2/versions/1` | `python3.10`, `custom.debian10` | | 7 | 8 | ## 快速开始 9 | 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | ### 基于 Python Runtime 13 | 14 | 若选择 Python3.10 Runtime,添加该层后可直接引用 15 | 16 | ### 基于 Custom Runtime (Debian10) 17 | 18 | 使用该层时,需要添加以下环境变量 19 | 20 | - `PYTHONPATH`环境变量需要添加 `/opt/python` 目录 21 | - `PATH` 环境变量需要添加 `/var/fc/lang/python3.10/bin` 目录,注意需要加到`PATH`的最前面 22 | 23 | 示例如下: 24 | 25 | ```shell 26 | PYTHONPATH=/opt/python 27 | PATH=/var/fc/lang/python3.10/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 28 | ``` 29 | 30 | ## License 31 | 32 | [MIT](https://github.com/aliyun/aliyun-oss-python-sdk?tab=MIT-1-ov-file#readme) 33 | 34 | ## 参考信息 35 | 36 | 维护者:阿里云-函数计算 37 | -------------------------------------------------------------------------------- /docs/Python310-Opencv4x/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python310-Opencv4x 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python310-Opencv4x/versions/2` | `python3.10`,`custom.debian10` | opencv_python-4.7.0.68 | 7 | 8 | ## 快速开始 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | ### 基于 Python Runtime 12 | 若选择 Python3.10 Runtime,添加该层后可直接引用 13 | 14 | ### 基于 Custom Runtime 15 | 使用该层时,需要依赖 Python3.10 运行时,可直接引用 [Python310公共层](../Python310/README.md) 16 | - `PYTHONPATH`环境变量需要添加 `/opt/python` 目录 17 | - `PATH` 环境变量需要添加 `/opt/python3.10/bin` 目录,注意需要加到`PATH`的最前面 18 | 19 | 示例如下: 20 | ```shell 21 | PYTHONPATH=/opt/python 22 | PATH=/opt/python3.10/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 23 | ``` 24 | 25 | ## License 26 | [Apache License 2.0](https://github.com/opencv/opencv/blob/4.x/LICENSE) 27 | 28 | ## 参考信息 29 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Python310-Package-Collection/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python310-Package-Collection 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python310-Package-Collection/versions/3` | `custom.debian10` | [requirements.txt](requirements.txt) | 7 | 8 | ## 快速开始 9 | 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | 使用该层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 13 | 14 | ```shell 15 | PATH=/var/fc/lang/python3.10/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 16 | PYTHONPATH=/opt/python 17 | ``` 18 | 19 | ## License 20 | 21 | ## 参考信息 22 | 23 | 维护者:阿里云-函数计算 24 | -------------------------------------------------------------------------------- /docs/Python310-Package-Collection/requirements.txt: -------------------------------------------------------------------------------- 1 | aiohttp==3.9.3 2 | aiosignal==1.3.1 3 | alibabacloud-credentials==0.3.2 4 | alibabacloud-endpoint-util==0.0.3 5 | alibabacloud-fc-open20210406==2.0.11 6 | alibabacloud-fc20230330==3.0.3 7 | alibabacloud-gateway-fc-util==0.0.4 8 | alibabacloud-gateway-spi==0.0.1 9 | alibabacloud-openapi-util==0.2.2 10 | alibabacloud-tea==0.3.5 11 | alibabacloud-tea-openapi==0.3.8 12 | alibabacloud-tea-util==0.3.11 13 | alibabacloud-tea-xml==0.0.2 14 | aliyun-fc2==2.5.2 15 | aliyun-log-python-sdk==0.9.0 16 | aliyun-mns-sdk==1.1.6 17 | aliyun-python-sdk-cdn==3.8.8 18 | aliyun-python-sdk-core==2.14.0 19 | aliyun-python-sdk-core-v3==2.13.33 20 | aliyun-python-sdk-dds==3.7.16 21 | aliyun-python-sdk-ecs==4.24.71 22 | aliyun-python-sdk-fnf==1.8.1 23 | aliyun-python-sdk-imm==2.1.17 24 | aliyun-python-sdk-iot==8.59.0 25 | aliyun-python-sdk-kms==2.16.2 26 | aliyun-python-sdk-ram==3.3.0 27 | aliyun-python-sdk-rds==2.7.43 28 | aliyun-python-sdk-sts==3.1.2 29 | aliyun-python-sdk-vpc==3.0.45 30 | asn1crypto==1.5.1 31 | async-timeout==4.0.3 32 | attrs==23.2.0 33 | Automat==22.10.0 34 | blinker==1.7.0 35 | cbor==1.0.0 36 | certifi==2024.2.2 37 | cffi==1.16.0 38 | chardet==5.2.0 39 | charset-normalizer==3.3.2 40 | click==8.1.7 41 | constantly==23.10.4 42 | coverage==7.4.3 43 | crcmod==1.7 44 | cryptography==42.0.5 45 | cssselect==1.2.0 46 | cycler==0.12.1 47 | Cython==3.0.8 48 | dateparser==1.2.0 49 | debugpy==1.8.1 50 | docutils==0.20.1 51 | elastic-transport==8.12.0 52 | elasticsearch==8.12.1 53 | filelock==3.13.1 54 | Flask==3.0.2 55 | flatbuffers==23.5.26 56 | fonttools==4.49.0 57 | frozenlist==1.4.1 58 | future==1.0.0 59 | greenlet==3.0.3 60 | hyperlink==21.0.0 61 | icc-rt==2020.0.133 62 | idna==3.6 63 | incremental==22.10.0 64 | intel-openmp==2020.0.133 65 | itemadapter==0.8.0 66 | itemloaders==1.1.0 67 | itsdangerous==2.1.2 68 | Jinja2==3.1.3 69 | jmespath==0.10.0 70 | kiwisolver==1.4.5 71 | lxml==5.1.0 72 | MarkupSafe==2.1.5 73 | multidict==6.0.5 74 | numpy==1.26.4 75 | oss2==2.18.4 76 | packaging==23.2 77 | parsel==1.8.1 78 | pillow==10.2.0 79 | Protego==0.3.0 80 | protobuf==3.19.0 81 | pyasn1==0.5.1 82 | pyasn1-modules==0.3.0 83 | pycparser==2.21 84 | pycrypto==2.6.1 85 | pycryptodome==3.20.0 86 | PyDispatcher==2.0.7 87 | PyMySQL==1.1.0 88 | pyOpenSSL==24.0.0 89 | pyparsing==3.1.1 90 | python-dateutil==2.9.0.post0 91 | pytz==2024.1 92 | pytz-deprecation-shim==0.1.0.post0 93 | PyYAML==6.0.1 94 | queuelib==1.6.2 95 | regex==2023.12.25 96 | requests==2.31.0 97 | requests-file==2.0.0 98 | Scrapy==2.11.1 99 | service-identity==24.1.0 100 | six==1.16.0 101 | tablestore==5.4.3 102 | tldextract==5.1.1 103 | Twisted==24.3.0 104 | typing_extensions==4.10.0 105 | tzdata==2024.1 106 | tzlocal==5.2 107 | urllib3==2.2.1 108 | w3lib==2.1.2 109 | Wand==0.6.13 110 | websocket-client==1.7.0 111 | Werkzeug==3.0.1 112 | yarl==1.9.4 113 | zope.interface==6.2 -------------------------------------------------------------------------------- /docs/Python310-PyTorch2x/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python310-PyTorch2x 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python310-PyTorch2x/versions/1` | `python3.10`, `custom.debian10` | torch==2.2.1+cpu | 7 | 8 | ## 快速开始 9 | 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | ### 基于 Python Runtime 13 | 14 | 若选择 Python3.10 Runtime,添加该层后可直接引用 15 | 16 | ### 基于 Custom Runtime (debian10) 17 | 18 | 使用该层时,需要添加以下环境变量 19 | 20 | - `PYTHONPATH`环境变量需要添加 `/opt/python` 目录 21 | - `PATH` 环境变量需要添加 `/var/fc/lang/python3.10/bin` 目录,注意需要加到`PATH`的最前面 22 | 23 | 示例如下: 24 | 25 | ```shell 26 | PYTHONPATH=/opt/python 27 | PATH=/var/fc/lang/python3.10/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 28 | ``` 29 | 30 | ## License 31 | 32 | [BSD](https://github.com/pytorch/pytorch/blob/master/LICENSE) 33 | 34 | ## 参考信息 35 | 36 | 维护者:阿里云-函数计算 37 | -------------------------------------------------------------------------------- /docs/Python310-TensorFlow2x/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python310-TensorFlow2x 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python310-TensorFlow2x/versions/1` | `python3.10`, `custom.debian10` | tensorflow==2.15.0.post1 | 7 | 8 | ## 快速开始 9 | 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | ### 基于 Python Runtime 13 | 14 | 若选择 Python3.10 Runtime,添加该层后可直接引用 15 | 16 | ### 基于 Custom Runtime (debian10) 17 | 18 | 使用该层时,需要添加以下环境变量 19 | 20 | - `PYTHONPATH`环境变量需要添加 `/opt/python` 目录 21 | - `PATH` 环境变量需要添加 `/var/fc/lang/python3.10/bin` 目录,注意需要加到`PATH`的最前面 22 | 23 | 示例如下: 24 | 25 | ```shell 26 | PYTHONPATH=/opt/python 27 | PATH=/var/fc/lang/python3.10/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 28 | ``` 29 | 30 | ## License 31 | 32 | [BSD](https://github.com/pytorch/pytorch/blob/master/LICENSE) 33 | 34 | ## 参考信息 35 | 36 | 维护者:阿里云-函数计算 37 | -------------------------------------------------------------------------------- /docs/Python310/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python310 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python310/versions/3` | `custom`,`custom.debian10`,`custom.debian11`,`custom.debian12` | Python 3.10.5 | 7 | 8 | 该层基于 Python 官方 [Dockerfile](https://github.com/docker-library/python/blob/7b9d62e229bda6312b9f91b37ab83e33b4e34542/3.10/buster/Dockerfile) 制作。 9 | 10 | ## 快速开始 11 | 可以通过控制台或者 Serverless Devs 工具引用该层。 12 | 13 | 使用`Python3.10`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 14 | - `PATH` 环境变量需要添加 `/opt/python3.10/bin` 目录,注意需要加到`PATH`的最前面 15 | 16 | 示例如下: 17 | ```shell 18 | PATH=/opt/python3.10/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 19 | ``` 20 | 21 | ## License 22 | [docker-library/python: License](https://github.com/docker-library/python/blob/7b9d62e229bda6312b9f91b37ab83e33b4e34542/LICENSE) 23 | 24 | ## 参考信息 25 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Python312-Aliyun-SDK/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python312-Aliyun-SDK 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python312-Aliyun-SDK/versions/1` | `python3.12`, `custom.debian11` | [requirements.txt](./requirements.txt) | 7 | 8 | ## 快速开始 9 | 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | ### 基于 Python Runtime 13 | 14 | 若选择 Python3.12 Runtime,添加该层后可直接引用 15 | 16 | ### 基于 Custom Runtime (debian11) 17 | 18 | 使用该层时,需要添加以下环境变量 19 | 20 | - `PYTHONPATH`环境变量需要添加 `/opt/python` 目录 21 | - `PATH` 环境变量需要添加 `/var/fc/lang/python3.12/bin` 目录,注意需要加到`PATH`的最前面 22 | 23 | 示例如下: 24 | 25 | ```shell 26 | PYTHONPATH=/opt/python 27 | PATH=/var/fc/lang/python3.12/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 28 | ``` 29 | 30 | ## License 31 | 32 | 无 33 | 34 | ## 参考信息 35 | 36 | 维护者:阿里云-函数计算 37 | -------------------------------------------------------------------------------- /docs/Python312-Aliyun-SDK/requirements.txt: -------------------------------------------------------------------------------- 1 | aiohappyeyeballs==2.4.0 2 | aiohttp==3.10.5 3 | aiosignal==1.3.1 4 | alibabacloud-cdn20180510==4.0.0 5 | alibabacloud-darabonba-string==0.0.4 6 | alibabacloud-dds20151201==8.0.0 7 | alibabacloud-ecs20140526==4.1.13 8 | alibabacloud-fc20230330==4.1.3 9 | alibabacloud-fnf20190315==1.1.3 10 | alibabacloud-imm20200930==4.5.4 11 | alibabacloud-iot20180120==5.1.0 12 | alibabacloud-kms20160120==2.2.2 13 | alibabacloud-mns-open20220119==1.0.4 14 | alibabacloud-ram20150501==1.1.0 15 | alibabacloud-rds20140815==7.1.0 16 | alibabacloud-sls20201230==5.3.0 17 | alibabacloud-sts20150401==1.1.4 18 | alibabacloud-tea==0.3.9 19 | alibabacloud-vpc20160428==6.9.0 20 | alibabacloud_credentials==0.3.5 21 | alibabacloud_darabonba_array==0.1.0 22 | alibabacloud_darabonba_encode_util==0.0.2 23 | alibabacloud_darabonba_map==0.0.1 24 | alibabacloud_darabonba_signature_util==0.0.4 25 | alibabacloud_endpoint_util==0.0.3 26 | alibabacloud_gateway_pop==0.0.5 27 | alibabacloud_gateway_sls==0.1.0 28 | alibabacloud_gateway_sls_util==0.0.2 29 | alibabacloud_gateway_spi==0.0.2 30 | alibabacloud_openapi_util==0.2.2 31 | alibabacloud_tea_openapi==0.3.11 32 | alibabacloud_tea_util==0.3.13 33 | alibabacloud_tea_xml==0.0.2 34 | aliyun-python-sdk-core==2.15.1 35 | aliyun-python-sdk-kms==2.16.4 36 | attrs==24.2.0 37 | Automat==24.8.1 38 | certifi==2024.7.4 39 | cffi==1.17.0 40 | charset-normalizer==3.3.2 41 | constantly==23.10.4 42 | crcmod==1.7 43 | cryptography==43.0.0 44 | cssselect==1.2.0 45 | defusedxml==0.7.1 46 | elastic-transport==8.15.0 47 | elasticsearch==8.15.0 48 | filelock==3.15.4 49 | frozenlist==1.4.1 50 | hyperlink==21.0.0 51 | idna==3.7 52 | incremental==24.7.2 53 | itemadapter==0.9.0 54 | itemloaders==1.3.1 55 | jmespath==0.10.0 56 | lxml==5.3.0 57 | lz4==4.3.3 58 | multidict==6.0.5 59 | oss2==2.18.6 60 | packaging==24.1 61 | parsel==1.9.1 62 | pillow==10.4.0 63 | Protego==0.3.1 64 | pyasn1==0.6.0 65 | pyasn1_modules==0.4.0 66 | pycparser==2.22 67 | pycryptodome==3.20.0 68 | PyDispatcher==2.0.7 69 | PyMySQL==1.1.1 70 | pyOpenSSL==24.2.1 71 | queuelib==1.7.0 72 | redis==5.0.8 73 | requests==2.32.3 74 | requests-file==2.1.0 75 | Scrapy==2.11.2 76 | service-identity==24.1.0 77 | setuptools==73.0.1 78 | six==1.16.0 79 | tldextract==5.1.2 80 | Twisted==24.7.0 81 | typing_extensions==4.12.2 82 | urllib3==2.2.2 83 | w3lib==2.2.1 84 | Wand==0.6.13 85 | yarl==1.9.4 86 | zope.interface==7.0.1 -------------------------------------------------------------------------------- /docs/Python312/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python310 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python312/versions/1` | `custom.debian12` | Python 3.12.9 | 7 | 8 | 该层基于 Python 官方 [Dockerfile](https://github.com/docker-library/python/blob/master/3.12/bookworm/Dockerfile) 制作。 9 | 10 | ## 快速开始 11 | 可以通过控制台或者 Serverless Devs 工具引用该层。 12 | 13 | 使用`Python3.12`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 14 | - `PATH` 环境变量需要添加 `/opt/python3.12/bin` 目录,注意需要加到`PATH`的最前面 15 | 16 | 示例如下: 17 | ```shell 18 | PATH=/opt/python3.12/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 19 | ``` 20 | 21 | ## License 22 | [docker-library/python: License](https://github.com/docker-library/python/blob/7b9d62e229bda6312b9f91b37ab83e33b4e34542/LICENSE) 23 | 24 | ## 参考信息 25 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Python36-Aliyun-SDK/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python36-Aliyun-SDK 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python36-Aliyun-SDK/versions/2` | `python3`, `custom` | [requirements.txt](./requirements.txt) | 7 | 8 | ## 快速开始 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | ### 基于 Python Runtime 12 | 若选择 Python3.6 Runtime,添加该层后可直接引用 13 | 14 | ### 基于 Custom Runtime 15 | 使用该层时,需要依赖 Python3.6 运行时,可直接引用 [Python36公共层](../Python36/README.md) 16 | - `PYTHONPATH`环境变量需要添加 `/opt/python` 目录 17 | - `PATH` 环境变量需要添加 `/opt/python3.6/bin` 目录,注意需要加到`PATH`的最前面 18 | 19 | 示例如下: 20 | ```shell 21 | PYTHONPATH=/opt/python 22 | PATH=/opt/python3.6/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 23 | ``` 24 | 25 | ## License 26 | 无 27 | 28 | ## 参考信息 29 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Python36-Aliyun-SDK/requirements.txt: -------------------------------------------------------------------------------- 1 | aiohttp==3.8.3 2 | aiosignal==1.2.0 3 | alibabacloud-credentials==0.3.0 4 | alibabacloud-endpoint-util==0.0.3 5 | alibabacloud-fc-open20210406==2.0.0 6 | alibabacloud-gateway-fc-util==0.0.3 7 | alibabacloud-gateway-spi==0.0.1 8 | alibabacloud-openapi-util==0.2.0 9 | alibabacloud-tea==0.3.0 10 | alibabacloud-tea-openapi==0.3.6 11 | alibabacloud-tea-util==0.3.8 12 | alibabacloud-tea-xml==0.0.2 13 | aliyun-fc2==2.5.0 14 | aliyun-log-python-sdk==0.8.0 15 | aliyun-mns==1.1.5 16 | aliyun-python-sdk-cdn==3.7.8 17 | aliyun-python-sdk-core==2.13.36 18 | aliyun-python-sdk-dds==3.7.3 19 | aliyun-python-sdk-ecs==4.24.26 20 | aliyun-python-sdk-fnf==1.8.0 21 | aliyun-python-sdk-imm==1.24.0 22 | aliyun-python-sdk-iot==8.47.0 23 | aliyun-python-sdk-kms==2.16.0 24 | aliyun-python-sdk-ram==3.2.0 25 | aliyun-python-sdk-rds==2.7.2 26 | aliyun-python-sdk-sts==3.1.0 27 | aliyun-python-sdk-vpc==3.0.27 28 | async-timeout==4.0.2 29 | asynctest==0.13.0 30 | attrs==22.1.0 31 | backports.zoneinfo==0.2.1 32 | certifi==2022.9.24 33 | cffi==1.15.1 34 | charset-normalizer==2.0.12 35 | cloudevents==1.7.1 36 | cryptography==38.0.4 37 | dataclasses==0.8 38 | dateparser==1.1.3 39 | deprecation==2.1.0 40 | elastic-transport==8.4.0 41 | elasticsearch==8.5.2 42 | frozenlist==1.2.0 43 | idna==3.4 44 | idna-ssl==1.1.0 45 | importlib-resources==5.4.0 46 | jmespath==0.10.0 47 | multidict==5.2.0 48 | packaging==21.3 49 | protobuf==3.19.6 50 | pycparser==2.21 51 | pyOpenSSL==22.1.0 52 | pyparsing==3.0.9 53 | python-dateutil==2.8.2 54 | pytz==2022.6 55 | pytz-deprecation-shim==0.1.0.post0 56 | regex==2022.3.2 57 | requests==2.27.1 58 | six==1.16.0 59 | typing_extensions==4.1.1 60 | tzdata==2022.7 61 | tzlocal==4.2 62 | urllib3==1.26.13 63 | yarl==1.7.2 64 | zipp==3.6.0 -------------------------------------------------------------------------------- /docs/Python36-Package-Collection/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python36-Package-Collection 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python36-Package-Collection/versions/2` | custom-runtime | [requirements.txt](requirements.txt) | 7 | 8 | 该层基于 Python36 层制作。 9 | 10 | ## 快速开始 11 | 可以通过控制台或者 Serverless Devs 工具引用该层。 12 | 有两种使用该层的方法 13 | 14 | ### 【推荐】和层 Python36 一起使用 15 | 16 | 该层需要依赖 `Python3.6` 环境,建议与层 [Python36](../Python36/README.md) 一起使用。 17 | 18 | 使用该层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 19 | `PATH` 环境变量需要添加 `/opt/python3.6/bin` 目录 20 | > 注意需要加到`PATH`的最前面 21 | 22 | 示例如下: 23 | ```shell 24 | PATH=/opt/python3.6/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 25 | ``` 26 | 27 | ### 【不推荐】单独使用 28 | 如果单独使用该层,需要修改`PYTHONPATH`环境变量,添加路径 `/opt/python3.6/lib/python3.6/site-packages` 29 | 30 | 示例如下: 31 | ```shell 32 | PYTHONPATH=/opt/python3.6/lib/python3.6/site-packages:/opt/python 33 | ``` 34 | 35 | ## License 36 | [docker-library/python: License](https://github.com/docker-library/python/blob/7b9d62e229bda6312b9f91b37ab83e33b4e34542/LICENSE) 37 | 38 | ## 参考信息 39 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Python36-Package-Collection/requirements.txt: -------------------------------------------------------------------------------- 1 | aiohttp==3.8.1 2 | aiosignal==1.2.0 3 | alibabacloud-credentials==0.2.0 4 | alibabacloud-endpoint-util==0.0.3 5 | alibabacloud-fc-open20210406==1.1.9 6 | alibabacloud-gateway-fc-util==0.0.3 7 | alibabacloud-gateway-spi==0.0.1 8 | alibabacloud-openapi-util==0.1.6 9 | alibabacloud-tea==0.2.9 10 | alibabacloud-tea-openapi==0.3.4 11 | alibabacloud-tea-util==0.3.7 12 | alibabacloud-tea-xml==0.0.2 13 | aliyun-fc2==2.5.0 14 | aliyun-log-python-sdk==0.7.13 15 | aliyun-mns==1.1.5 16 | aliyun-python-sdk-cdn==3.7.1 17 | aliyun-python-sdk-core==2.13.36 18 | aliyun-python-sdk-dds==3.7.0 19 | aliyun-python-sdk-ecs==4.24.23 20 | aliyun-python-sdk-fnf==1.8.0 21 | aliyun-python-sdk-imm==1.24.0 22 | aliyun-python-sdk-iot==8.41.0 23 | aliyun-python-sdk-kms==2.16.0 24 | aliyun-python-sdk-ram==3.2.0 25 | aliyun-python-sdk-rds==2.7.0 26 | aliyun-python-sdk-sts==3.1.0 27 | aliyun-python-sdk-vpc==3.0.21 28 | asn1crypto==1.5.1 29 | async-timeout==4.0.2 30 | asynctest==0.13.0 31 | attrs==22.1.0 32 | Automat==20.2.0 33 | backports.zoneinfo==0.2.1 34 | cbor==1.0.0 35 | certifi==2022.6.15 36 | cffi==1.15.1 37 | chardet==5.0.0 38 | charset-normalizer==2.0.12 39 | constantly==15.1.0 40 | coverage==6.2 41 | crcmod==1.7 42 | cryptography==37.0.4 43 | cssselect==1.1.0 44 | cycler==0.11.0 45 | Cython==0.29.32 46 | dataclasses==0.8 47 | dateparser==1.1.1 48 | debugpy==1.5.1 49 | docutils==0.18.1 50 | elastic-transport==8.1.2 51 | elasticsearch==8.3.3 52 | enum34==1.1.10 53 | filelock==3.4.1 54 | fonttools==4.27.1 55 | frozenlist==1.2.0 56 | future==0.18.2 57 | greenlet==1.1.2 58 | hyperlink==21.0.0 59 | icc-rt==2020.0.133 60 | idna==3.3 61 | idna-ssl==1.1.0 62 | importlib-resources==5.4.0 63 | incremental==21.3.0 64 | intel-openmp==2020.0.133 65 | itemadapter==0.7.0 66 | itemloaders==1.0.4 67 | jmespath==0.10.0 68 | kiwisolver==1.3.1 69 | lxml==4.9.1 70 | multidict==5.2.0 71 | oss2==2.16.0 72 | packaging==21.3 73 | parsel==1.6.0 74 | Pillow==8.4.0 75 | Protego==0.2.1 76 | protobuf==3.19.4 77 | pyasn1==0.4.8 78 | pyasn1-modules==0.2.8 79 | pycparser==2.21 80 | pycryptodome==3.15.0 81 | PyDispatcher==2.0.5 82 | PyMySQL==1.0.2 83 | pyOpenSSL==22.0.0 84 | pyparsing==3.0.9 85 | python-dateutil==2.8.2 86 | pytz==2022.2.1 87 | pytz-deprecation-shim==0.1.0.post0 88 | PyYAML==6.0 89 | queuelib==1.6.2 90 | regex==2022.3.2 91 | requests==2.27.1 92 | requests-file==1.5.1 93 | Scrapy==2.6.2 94 | service-identity==21.1.0 95 | six==1.16.0 96 | tablestore==5.3.0 97 | tldextract==3.1.2 98 | Twisted==22.4.0 99 | typing_extensions==4.1.1 100 | tzdata==2022.1 101 | tzlocal==4.2 102 | urllib3==1.26.12 103 | w3lib==2.0.1 104 | Wand==0.6.10 105 | yarl==1.7.2 106 | zipp==3.6.0 107 | zope.interface==5.4.0 -------------------------------------------------------------------------------- /docs/Python36-PyTorch1x/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python36-PyTorch1x 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python36-PyTorch1x/versions/2` | custom-runtime | torch-1.10.2+cpu,torchvision-0.11.3+cpu,torchaudio-0.10.2+cpu | 7 | 8 | ## 快速开始 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | ### 基于 Python Runtime 12 | 若选择 Python3.6 Runtime,添加该层后可直接引用 13 | 14 | ### 基于 Custom Runtime 15 | 使用该层时,需要依赖 Python3.6 运行时,可直接引用 [Python36公共层](../Python36/README.md) 16 | - `PYTHONPATH`环境变量需要添加 `/opt/python` 目录 17 | - `PATH` 环境变量需要添加 `/opt/python3.6/bin` 目录,注意需要加到`PATH`的最前面 18 | 19 | 示例如下: 20 | ```shell 21 | PYTHONPATH=/opt/python 22 | PATH=/opt/python3.6/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 23 | ``` 24 | 25 | ## License 26 | [BSD](https://github.com/pytorch/pytorch/blob/master/LICENSE) 27 | 28 | ## 参考信息 29 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Python36-SciPy1x/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python36-SciPy1x 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python36-SciPy1x/versions/4` | custom-runtime | scipy-1.5.4,numpy-1.19.5 | 7 | 8 | ## 快速开始 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | ### 基于 Python Runtime 12 | 若选择 Python3.6 Runtime,添加该层后可直接引用 13 | 14 | ### 基于 Custom Runtime 15 | 使用该层时,需要依赖 Python3.6 运行时,可直接引用 [Python36公共层](../Python36/README.md) 16 | - `PYTHONPATH`环境变量需要添加 `/opt/python` 目录 17 | - `PATH` 环境变量需要添加 `/opt/python3.6/bin` 目录,注意需要加到`PATH`的最前面 18 | 19 | 示例如下: 20 | ```shell 21 | PYTHONPATH=/opt/python 22 | PATH=/opt/python3.6/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 23 | ``` 24 | 25 | ## License 26 | [BSD-3](https://github.com/scipy/scipy/blob/main/LICENSE.txt) 27 | 28 | ## 参考信息 29 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Python36/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python36 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python36/versions/2` | custom-runtime | Python 3.6.15 | 7 | 8 | 该层基于 Python 官方 [Dockerfile](https://github.com/docker-library/python/blob/7b9d62e229bda6312b9f91b37ab83e33b4e34542/3.6/buster/Dockerfile) 制作。 9 | 10 | ## 快速开始 11 | 可以通过控制台或者 Serverless Devs 工具引用该层。 12 | 13 | 使用`Python3.6`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 14 | - `PATH` 环境变量需要添加 `/opt/python3.6/bin` 目录,注意需要加到`PATH`的最前面 15 | 16 | 示例如下: 17 | ```shell 18 | PATH=/opt/python3.6/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 19 | ``` 20 | 21 | ## License 22 | [docker-library/python: License](https://github.com/docker-library/python/blob/7b9d62e229bda6312b9f91b37ab83e33b4e34542/LICENSE) 23 | 24 | ## 参考信息 25 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Python38-Package-Collection/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python38-Package-Collection 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python38-Package-Collection/versions/2` | `custom`,`custom.debian10` | [requirements.txt](requirements.txt) | 7 | | `acs:fc:{region}:official:layers/Python38-Package-Collection/versions/1` | custom-runtime | [requirements.txt](requirements.txt) | 8 | 9 | 该层基于 Python38 层制作。 10 | 11 | ## 快速开始 12 | 可以通过控制台或者 Serverless Devs 工具引用该层。 13 | 有两种使用该层的方法 14 | 15 | ### 【推荐】和层 Python38 一起使用 16 | 17 | 该层需要依赖 `Python3.8` 环境,建议与层 [Python38](../Python38/README.md) 一起使用。 18 | 19 | 使用该层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 20 | `PATH` 环境变量需要添加 `/opt/python3.8/bin` 目录 21 | > 注意需要加到`PATH`的最前面 22 | 23 | 示例如下: 24 | ```shell 25 | PATH=/opt/python3.8/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 26 | ``` 27 | 28 | ### 【不推荐】单独使用 29 | 如果单独使用该层,需要修改`PYTHONPATH`环境变量,添加路径 `/opt/python3.8/lib/python3.8/site-packages` 30 | 31 | 示例如下: 32 | ```shell 33 | PYTHONPATH=/opt/python3.8/lib/python3.8/site-packages:/opt/python 34 | ``` 35 | 36 | ## License 37 | [docker-library/python: License](https://github.com/docker-library/python/blob/7b9d62e229bda6312b9f91b37ab83e33b4e34542/LICENSE) 38 | 39 | ## 参考信息 40 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Python38-Package-Collection/requirements.txt: -------------------------------------------------------------------------------- 1 | aiohttp==3.8.1 2 | aiosignal==1.2.0 3 | alibabacloud-credentials==0.2.0 4 | alibabacloud-endpoint-util==0.0.3 5 | alibabacloud-fc-open20210406==1.1.9 6 | alibabacloud-gateway-fc-util==0.0.3 7 | alibabacloud-gateway-spi==0.0.1 8 | alibabacloud-openapi-util==0.1.6 9 | alibabacloud-tea==0.2.9 10 | alibabacloud-tea-openapi==0.3.4 11 | alibabacloud-tea-util==0.3.7 12 | alibabacloud-tea-xml==0.0.2 13 | aliyun-fc2==2.5.0 14 | aliyun-log-python-sdk==0.7.13 15 | aliyun-mns==1.1.5 16 | aliyun-python-sdk-cdn==3.7.1 17 | aliyun-python-sdk-core==2.13.36 18 | aliyun-python-sdk-dds==3.7.0 19 | aliyun-python-sdk-ecs==4.24.23 20 | aliyun-python-sdk-fnf==1.8.0 21 | aliyun-python-sdk-imm==1.24.0 22 | aliyun-python-sdk-iot==8.41.0 23 | aliyun-python-sdk-kms==2.16.0 24 | aliyun-python-sdk-ram==3.2.0 25 | aliyun-python-sdk-rds==2.7.0 26 | aliyun-python-sdk-sts==3.1.0 27 | aliyun-python-sdk-vpc==3.0.21 28 | asn1crypto==1.5.1 29 | async-timeout==4.0.2 30 | attrs==22.1.0 31 | Automat==20.2.0 32 | backports.zoneinfo==0.2.1 33 | cbor==1.0.0 34 | certifi==2022.6.15 35 | cffi==1.15.1 36 | chardet==5.0.0 37 | charset-normalizer==2.1.1 38 | constantly==15.1.0 39 | coverage==6.4.4 40 | crcmod==1.7 41 | cryptography==37.0.4 42 | cssselect==1.1.0 43 | cycler==0.11.0 44 | Cython==0.29.32 45 | dateparser==1.1.1 46 | debugpy==1.6.3 47 | docutils==0.19 48 | elastic-transport==8.1.2 49 | elasticsearch==8.3.3 50 | enum34==1.1.10 51 | filelock==3.8.0 52 | fonttools==4.37.0 53 | frozenlist==1.3.1 54 | future==0.18.2 55 | greenlet==1.1.2 56 | hyperlink==21.0.0 57 | icc-rt==2020.0.133 58 | idna==3.3 59 | incremental==21.3.0 60 | intel-openmp==2020.0.133 61 | itemadapter==0.7.0 62 | itemloaders==1.0.4 63 | jmespath==0.10.0 64 | kiwisolver==1.4.4 65 | lxml==4.9.1 66 | multidict==6.0.2 67 | oss2==2.16.0 68 | packaging==21.3 69 | parsel==1.6.0 70 | Pillow==9.2.0 71 | Protego==0.2.1 72 | protobuf==3.20.1 73 | pyasn1==0.4.8 74 | pyasn1-modules==0.2.8 75 | pycparser==2.21 76 | pycryptodome==3.15.0 77 | PyDispatcher==2.0.5 78 | PyMySQL==1.0.2 79 | pyOpenSSL==22.0.0 80 | pyparsing==3.0.9 81 | python-dateutil==2.8.2 82 | pytz==2022.2.1 83 | pytz-deprecation-shim==0.1.0.post0 84 | PyYAML==6.0 85 | queuelib==1.6.2 86 | regex==2022.3.2 87 | requests==2.28.1 88 | requests-file==1.5.1 89 | Scrapy==2.6.2 90 | service-identity==21.1.0 91 | six==1.16.0 92 | tablestore==5.3.0 93 | tldextract==3.3.1 94 | Twisted==22.4.0 95 | typing_extensions==4.3.0 96 | tzdata==2022.1 97 | tzlocal==4.2 98 | urllib3==1.26.12 99 | w3lib==2.0.1 100 | Wand==0.6.10 101 | yarl==1.8.1 102 | zope.interface==5.4.0 -------------------------------------------------------------------------------- /docs/Python38-Playwright/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python38-Playwright 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python38-Playwright/versions/1` | `custom.debian10` | playwright==1.31.1 | 7 | 8 | > 注意:官方公共层 `Python38-Playwright` 仅支持 `custom.debian10` 运行时下的 `Python3.8`版本。 9 | > 不支持`cusotom`运行时,也不支持`custom.debian10`运行时下的其他Python版本。 10 | 11 | ## 快速开始 12 | 可以通过控制台或者 Serverless Devs 工具引用该层。 13 | 14 | ### 基于 Custom Runtime (Debian10) 15 | 使用该层时,需要依赖 Python3.8 运行时,可直接引用 [Python38公共层](../Python38/README.md) 16 | - `PYTHONPATH`环境变量需要添加 `/opt/python` 目录 17 | - `PATH` 环境变量需要添加 `/opt/python3.8/bin` 目录,注意需要加到`PATH`的最前面 18 | - `LD_LIBRARY_PATH` 环境变量需要添加 `/opt/lib` 目录 19 | 20 | 示例如下: 21 | ```shell 22 | PATH=/opt/python3.8/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 23 | PYTHONPATH=/opt/python 24 | LD_LIBRARY_PATH=/opt/lib 25 | ``` 26 | 27 | ## License 28 | [Apache-2.0](https://github.com/microsoft/playwright/blob/main/LICENSE) 29 | 30 | ## 参考信息 31 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Python38/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python38 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python38/versions/2` | `custom`,`custom.debian10` | Python 3.8.13 | 7 | | `acs:fc:{region}:official:layers/Python38/versions/1` | custom-runtime | Python 3.8.13 | 8 | 9 | 该层基于 Python 官方 [Dockerfile](https://github.com/docker-library/python/blob/7b9d62e229bda6312b9f91b37ab83e33b4e34542/3.8/buster/Dockerfile) 制作。 10 | 11 | ## 快速开始 12 | 可以通过控制台或者 Serverless Devs 工具引用该层。 13 | 14 | 使用`Python3.8`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 15 | - `PATH` 环境变量需要添加 `/opt/python3.8/bin` 目录,注意需要加到`PATH`的最前面 16 | 17 | 示例如下: 18 | ```shell 19 | PATH=/opt/python3.8/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 20 | ``` 21 | 22 | ## License 23 | [docker-library/python: License](https://github.com/docker-library/python/blob/7b9d62e229bda6312b9f91b37ab83e33b4e34542/LICENSE) 24 | 25 | ## 参考信息 26 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Python39-Aliyun-SDK/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python39-Aliyun-SDK 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python39-Aliyun-SDK/versions/2` | `python3.9`, `custom`,`custom.debian10` | [requirements.txt](./requirements.txt) | 7 | | `acs:fc:{region}:official:layers/Python39-Aliyun-SDK/versions/1` | `python3.9`, `custom` | [requirements.txt](./requirements.txt) | 8 | 9 | ## 快速开始 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | ### 基于 Python Runtime 13 | 若选择 Python3.9 Runtime,添加该层后可直接引用 14 | 15 | ### 基于 Custom Runtime 16 | 使用该层时,需要依赖 Python3.9 运行时,可直接引用 [Python39公共层](../Python39/README.md) 17 | - `PYTHONPATH`环境变量需要添加 `/opt/python` 目录 18 | - `PATH` 环境变量需要添加 `/opt/python3.9/bin` 目录,注意需要加到`PATH`的最前面 19 | 20 | 示例如下: 21 | ```shell 22 | PYTHONPATH=/opt/python 23 | PATH=/opt/python3.9/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 24 | ``` 25 | 26 | ## License 27 | 无 28 | 29 | ## 参考信息 30 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Python39-Aliyun-SDK/requirements.txt: -------------------------------------------------------------------------------- 1 | aiohttp==3.8.3 2 | aiosignal==1.3.1 3 | alibabacloud-credentials==0.3.0 4 | alibabacloud-endpoint-util==0.0.3 5 | alibabacloud-fc-open20210406==2.0.0 6 | alibabacloud-gateway-fc-util==0.0.3 7 | alibabacloud-gateway-spi==0.0.1 8 | alibabacloud-openapi-util==0.2.0 9 | alibabacloud-tea==0.3.0 10 | alibabacloud-tea-openapi==0.3.6 11 | alibabacloud-tea-util==0.3.8 12 | alibabacloud-tea-xml==0.0.2 13 | aliyun-fc2==2.5.2 14 | aliyun-log-python-sdk==0.8.0 15 | aliyun-mns==1.1.5 16 | aliyun-python-sdk-cdn==3.7.8 17 | aliyun-python-sdk-core==2.13.36 18 | aliyun-python-sdk-dds==3.7.3 19 | aliyun-python-sdk-ecs==4.24.26 20 | aliyun-python-sdk-fnf==1.8.0 21 | aliyun-python-sdk-imm==1.24.0 22 | aliyun-python-sdk-iot==8.47.0 23 | aliyun-python-sdk-kms==2.16.0 24 | aliyun-python-sdk-ram==3.2.0 25 | aliyun-python-sdk-rds==2.7.2 26 | aliyun-python-sdk-sts==3.1.0 27 | aliyun-python-sdk-vpc==3.0.27 28 | async-timeout==4.0.2 29 | attrs==22.1.0 30 | certifi==2022.9.24 31 | cffi==1.15.1 32 | charset-normalizer==2.1.1 33 | cloudevents==1.7.1 34 | cryptography==38.0.4 35 | dateparser==1.1.4 36 | deprecation==2.1.0 37 | elastic-transport==8.4.0 38 | elasticsearch==8.5.2 39 | frozenlist==1.3.3 40 | idna==3.4 41 | jmespath==0.10.0 42 | multidict==6.0.3 43 | packaging==21.3 44 | protobuf==3.20.3 45 | pycparser==2.21 46 | pyparsing==3.0.9 47 | python-dateutil==2.8.2 48 | pytz==2022.6 49 | pytz-deprecation-shim==0.1.0.post0 50 | regex==2022.10.31 51 | requests==2.28.1 52 | six==1.16.0 53 | tzdata==2022.7 54 | tzlocal==4.2 55 | urllib3==1.26.13 56 | websocket-client==1.4.2 57 | yarl==1.8.2 -------------------------------------------------------------------------------- /docs/Python39-OSS2/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python39-OSS2 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python39-OSS2/versions/1` | `python3.9`, `custom.debian10` | | 7 | 8 | 9 | 10 | ## 快速开始 11 | 12 | 可以通过控制台或者 Serverless Devs 工具引用该层。 13 | 14 | ### 基于 Python Runtime 15 | 16 | 若选择 Python3.10 Runtime,添加该层后可直接引用 17 | 18 | ### 基于 Custom Runtime (Debian10) 19 | 20 | 使用该层时,需要使用Python39公共层 21 | 22 | 并添加以下环境变量 23 | 24 | - `PYTHONPATH`环境变量需要添加 `/opt/python` 目录 25 | - `PATH` 环境变量需要添加 `/opt/python3.9/bin` 目录,注意需要加到`PATH`的最前面 26 | 27 | 示例如下: 28 | 29 | ```shell 30 | PYTHONPATH=/opt/python 31 | PATH=/opt/python3.9/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 32 | ``` 33 | 34 | ## License 35 | 36 | [MIT](https://github.com/aliyun/aliyun-oss-python-sdk?tab=MIT-1-ov-file#readme) 37 | 38 | ## 参考信息 39 | 40 | 维护者:阿里云-函数计算 41 | -------------------------------------------------------------------------------- /docs/Python39-Package-Collection/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python39-Package-Collection 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python39-Package-Collection/versions/3` | `custom`,`custom.debian10` | [requirements.txt](requirements.txt) | 7 | 8 | 该层基于 Python39 层制作。 9 | 10 | ## 快速开始 11 | 12 | 可以通过控制台或者 Serverless Devs 工具引用该层。 13 | 有两种使用该层的方法 14 | 15 | ### 【推荐】和层 Python39 一起使用 16 | 17 | 该层需要依赖 `Python3.9` 环境,建议与层 [Python39](../Python39/README.md) 一起使用。 18 | 19 | 使用该层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 20 | `PATH` 环境变量需要添加 `/opt/python3.9/bin` 目录 21 | > 注意需要加到`PATH`的最前面 22 | 23 | 示例如下: 24 | 25 | ```shell 26 | PATH=/opt/python3.9/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 27 | ``` 28 | 29 | ### 【不推荐】单独使用 30 | 31 | 如果单独使用该层,需要修改`PYTHONPATH`环境变量,添加路径 `/opt/python3.9/lib/python3.9/site-packages` 32 | 33 | 示例如下: 34 | 35 | ```shell 36 | PYTHONPATH=/opt/python3.9/lib/python3.9/site-packages:/opt/python 37 | ``` 38 | 39 | ## License 40 | 41 | [docker-library/python: License](https://github.com/docker-library/python/blob/7b9d62e229bda6312b9f91b37ab83e33b4e34542/LICENSE) 42 | 43 | ## 参考信息 44 | 45 | 维护者:阿里云-函数计算 46 | -------------------------------------------------------------------------------- /docs/Python39-Package-Collection/requirements.txt: -------------------------------------------------------------------------------- 1 | aiohttp==3.9.3 2 | aiosignal==1.3.1 3 | alibabacloud-credentials==0.3.2 4 | alibabacloud-endpoint-util==0.0.3 5 | alibabacloud-fc-open20210406==2.0.11 6 | alibabacloud-fc20230330==3.0.3 7 | alibabacloud-gateway-fc-util==0.0.4 8 | alibabacloud-gateway-spi==0.0.1 9 | alibabacloud-openapi-util==0.2.2 10 | alibabacloud-tea==0.3.5 11 | alibabacloud-tea-openapi==0.3.8 12 | alibabacloud-tea-util==0.3.11 13 | alibabacloud-tea-xml==0.0.2 14 | aliyun-fc2==2.5.2 15 | aliyun-log-python-sdk==0.9.0 16 | aliyun-mns-sdk==1.1.6 17 | aliyun-python-sdk-cdn==3.8.8 18 | aliyun-python-sdk-core==2.14.0 19 | aliyun-python-sdk-core-v3==2.13.33 20 | aliyun-python-sdk-dds==3.7.16 21 | aliyun-python-sdk-ecs==4.24.71 22 | aliyun-python-sdk-fnf==1.8.1 23 | aliyun-python-sdk-imm==2.1.17 24 | aliyun-python-sdk-iot==8.59.0 25 | aliyun-python-sdk-kms==2.16.2 26 | aliyun-python-sdk-ram==3.3.0 27 | aliyun-python-sdk-rds==2.7.43 28 | aliyun-python-sdk-sts==3.1.2 29 | aliyun-python-sdk-vpc==3.0.45 30 | asn1crypto==1.5.1 31 | async-timeout==4.0.3 32 | attrs==23.2.0 33 | Automat==22.10.0 34 | blinker==1.7.0 35 | cbor==1.0.0 36 | certifi==2024.2.2 37 | cffi==1.16.0 38 | chardet==5.2.0 39 | charset-normalizer==3.3.2 40 | click==8.1.7 41 | constantly==23.10.4 42 | coverage==7.4.3 43 | crcmod==1.7 44 | cryptography==42.0.5 45 | cssselect==1.2.0 46 | cycler==0.12.1 47 | Cython==3.0.8 48 | dateparser==1.2.0 49 | debugpy==1.8.1 50 | docutils==0.20.1 51 | elastic-transport==8.12.0 52 | elasticsearch==8.12.1 53 | filelock==3.13.1 54 | Flask==3.0.2 55 | flatbuffers==23.5.26 56 | fonttools==4.49.0 57 | frozenlist==1.4.1 58 | future==1.0.0 59 | greenlet==3.0.3 60 | hyperlink==21.0.0 61 | icc-rt==2020.0.133 62 | idna==3.6 63 | importlib-metadata==7.0.1 64 | incremental==22.10.0 65 | intel-openmp==2020.0.133 66 | itemadapter==0.8.0 67 | itemloaders==1.1.0 68 | itsdangerous==2.1.2 69 | Jinja2==3.1.3 70 | jmespath==0.10.0 71 | kiwisolver==1.4.5 72 | lxml==5.1.0 73 | MarkupSafe==2.1.5 74 | multidict==6.0.5 75 | numpy==1.26.4 76 | oss2==2.18.4 77 | packaging==23.2 78 | parsel==1.8.1 79 | pillow==10.2.0 80 | Protego==0.3.0 81 | protobuf==3.19.0 82 | pyasn1==0.5.1 83 | pyasn1-modules==0.3.0 84 | pycparser==2.21 85 | pycrypto==2.6.1 86 | pycryptodome==3.20.0 87 | PyDispatcher==2.0.7 88 | PyMySQL==1.1.0 89 | pyOpenSSL==24.0.0 90 | pyparsing==3.1.1 91 | python-dateutil==2.9.0.post0 92 | pytz==2024.1 93 | pytz-deprecation-shim==0.1.0.post0 94 | PyYAML==6.0.1 95 | queuelib==1.6.2 96 | regex==2023.12.25 97 | requests==2.31.0 98 | requests-file==2.0.0 99 | Scrapy==2.11.1 100 | service-identity==24.1.0 101 | six==1.16.0 102 | tablestore==5.4.3 103 | tldextract==5.1.1 104 | Twisted==24.3.0 105 | typing_extensions==4.10.0 106 | tzdata==2024.1 107 | tzlocal==5.2 108 | urllib3==1.26.18 109 | w3lib==2.1.2 110 | Wand==0.6.13 111 | websocket-client==1.7.0 112 | Werkzeug==3.0.1 113 | yarl==1.9.4 114 | zipp==3.17.0 115 | zope.interface==6.2 -------------------------------------------------------------------------------- /docs/Python39-Pandas1x/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python39-Pandas1x 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python39-Pandas1x/versions/2` | `custom`,`custom.debian10` | pandas-1.4.3 | 7 | 8 | ## 快速开始 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | ### 基于 Python Runtime 12 | 若选择 Python3.9 Runtime,添加该层后可直接引用 13 | 14 | ### 基于 Custom Runtime 15 | 使用该层时,需要依赖 Python3.9 运行时,可直接引用 [Python39公共层](../Python39/README.md) 16 | - `PYTHONPATH`环境变量需要添加 `/opt/python` 目录 17 | - `PATH` 环境变量需要添加 `/opt/python3.9/bin` 目录,注意需要加到`PATH`的最前面 18 | 19 | 示例如下: 20 | ```shell 21 | PYTHONPATH=/opt/python 22 | PATH=/opt/python3.9/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 23 | ``` 24 | 25 | ## License 26 | [BSD-3](https://github.com/pandas-dev/pandas/blob/main/LICENSE) 27 | 28 | ## 参考信息 29 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Python39-PyTorch1x/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | 2 | ## 2023-01-10 Version 2 3 | ARN: `acs:fc:{region}:official:layers/Python39-PyTorch1x/versions/2` 4 | - support runtime `custom.debian10` 5 | 6 | ## 2022-09-05 Version 1 7 | ARN: `acs:fc:{region}:official:layers/Python39-PyTorch1x/versions/1` 8 | 9 | ```txt 10 | certifi==2022.6.15 11 | charset-normalizer==2.1.1 12 | idna==3.3 13 | numpy==1.23.2 14 | Pillow==9.2.0 15 | requests==2.28.1 16 | torch==1.12.1+cpu 17 | torchaudio==0.12.1+cpu 18 | torchvision==0.13.1+cpu 19 | typing_extensions==4.3.0 20 | urllib3==1.26.12 21 | ``` -------------------------------------------------------------------------------- /docs/Python39-PyTorch1x/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python39-PyTorch1x 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python39-PyTorch1x/versions/2` | `python3.9`, `custom`, `custom.debian10` | torch==1.12.1+cpu,torchaudio==0.12.1+cpu,torchvision==0.13.1+cpu | 7 | | `acs:fc:{region}:official:layers/Python39-PyTorch1x/versions/1` | `python3.9`, `custom` | torch==1.12.1+cpu,torchaudio==0.12.1+cpu,torchvision==0.13.1+cpu | 8 | 9 | ## 快速开始 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | ### 基于 Python Runtime 13 | 若选择 Python3.9 Runtime,添加该层后可直接引用 14 | 15 | ### 基于 Custom Runtime 16 | 使用该层时,需要依赖 Python3.9 运行时,可直接引用 [Python39公共层](../Python39/README.md) 17 | - `PYTHONPATH`环境变量需要添加 `/opt/python` 目录 18 | - `PATH` 环境变量需要添加 `/opt/python3.9/bin` 目录,注意需要加到`PATH`的最前面 19 | 20 | 示例如下: 21 | ```shell 22 | PYTHONPATH=/opt/python 23 | PATH=/opt/python3.9/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 24 | ``` 25 | 26 | ## License 27 | [BSD](https://github.com/pytorch/pytorch/blob/master/LICENSE) 28 | 29 | ## 参考信息 30 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Python39-SciPy1x/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python39-SciPy1x 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python39-SciPy1x/versions/2` | custom-runtime | scipy-1.9.0,numpy-1.23.2 | 7 | 8 | ## 快速开始 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | ### 基于 Python Runtime 12 | 若选择 Python3.9 Runtime,添加该层后可直接引用 13 | 14 | ### 基于 Custom Runtime 15 | 使用该层时,需要依赖 Python3.9 运行时,可直接引用 [Python39公共层](../Python39/README.md) 16 | - `PYTHONPATH`环境变量需要添加 `/opt/python` 目录 17 | - `PATH` 环境变量需要添加 `/opt/python3.9/bin` 目录,注意需要加到`PATH`的最前面 18 | 19 | 示例如下: 20 | ```shell 21 | PYTHONPATH=/opt/python 22 | PATH=/opt/python3.9/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 23 | ``` 24 | 25 | ## License 26 | [BSD-3](https://github.com/scipy/scipy/blob/main/LICENSE.txt) 27 | 28 | ## 参考信息 29 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Python39/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python39 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python39/versions/2` | `custom`,`custom.debian10` | Python 3.9.13 | 7 | | `acs:fc:{region}:official:layers/Python39/versions/1` | custom-runtime | Python 3.9.13 | 8 | 9 | 该层基于 Python 官方 [Dockerfile](https://github.com/docker-library/python/blob/7b9d62e229bda6312b9f91b37ab83e33b4e34542/3.9/buster/Dockerfile) 制作。 10 | 11 | ## 快速开始 12 | 可以通过控制台或者 Serverless Devs 工具引用该层。 13 | 14 | 使用`Python3.9`层时,需要配置相应的环境变量 (通过控制台创建会自动配置)。 15 | - `PATH` 环境变量需要添加 `/opt/python3.9/bin` 目录,注意需要加到`PATH`的最前面 16 | 17 | 示例如下: 18 | ```shell 19 | PATH=/opt/python3.9/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 20 | ``` 21 | 22 | ## License 23 | [docker-library/python: License](https://github.com/docker-library/python/blob/7b9d62e229bda6312b9f91b37ab83e33b4e34542/LICENSE) 24 | 25 | ## 参考信息 26 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /docs/Python3x-MCP/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python3x-MCP 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python3x-MCP/versions/3` | `custom.debian12`,`custom.debian11`,`custom.debian10`,`python3.12`,`python3.12` | mcp==1.6.0 | 7 | 8 | ## 快速开始 9 | 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | ### 基于 Python Runtime 13 | 14 | 若选择 Python3.12 Runtime,添加该层后可直接引用 15 | 16 | ### 基于 Custom Runtime (debian12) 17 | 18 | 使用该层时,需要依赖公共层 `Python312`, 并添加以下环境变量 19 | 20 | - `PYTHONPATH`环境变量需要添加 `/opt/python` 目录 21 | - `PATH` 环境变量需要添加 `/opt/python3.12/bin` 目录,注意需要加到`PATH`的最前面 22 | 23 | 示例如下: 24 | 25 | ```shell 26 | PYTHONPATH=/opt/python 27 | PATH=/opt/python3.10/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 28 | ``` 29 | 30 | ### 基于 Custom Runtime (debian11) 31 | 32 | 使用该层时,需要添加以下环境变量 33 | 34 | - `PYTHONPATH`环境变量需要添加 `/opt/python` 目录 35 | - `PATH` 环境变量需要添加 `/var/fc/lang/python3.12/bin` 目录,注意需要加到`PATH`的最前面 36 | 37 | 示例如下: 38 | 39 | ```shell 40 | PYTHONPATH=/opt/python 41 | PATH=/var/fc/lang/python3.12/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 42 | ``` 43 | 44 | ## License 45 | 46 | MIT 47 | 48 | ## 参考信息 49 | 50 | 维护者:阿里云-函数计算 51 | -------------------------------------------------------------------------------- /docs/Python3x-Pandas2x/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python3x-Pandas2x 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python3x-Pandas2x/versions/1` | `python3.10`, `custom.debian10` | pandas==2.2.1 | 7 | 8 | ## 快速开始 9 | 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | ### 基于 Python Runtime 13 | 14 | 若选择 Python3.10 Runtime,添加该层后可直接引用 15 | 16 | ### 基于 Custom Runtime (debian10) 17 | 18 | 使用该层时,需要添加以下环境变量 19 | 20 | - `PYTHONPATH`环境变量需要添加 `/opt/python` 目录 21 | - `PATH` 环境变量需要添加 `/var/fc/lang/python3.10/bin` 目录,注意需要加到`PATH`的最前面 22 | 23 | 示例如下: 24 | 25 | ```shell 26 | PYTHONPATH=/opt/python 27 | PATH=/var/fc/lang/python3.10/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 28 | ``` 29 | 30 | ## License 31 | 32 | [BSD-3](https://pandas.pydata.org/docs/getting_started/overview.html#license) 33 | 34 | ## 参考信息 35 | 36 | 维护者:阿里云-函数计算 37 | -------------------------------------------------------------------------------- /docs/Python3x-PyMongo4x/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】Python3x-PyMongo4x 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/Python3x-PyMongo4x/versions/1` | `python3.10`, `custom.debian10` | PyMongo==4.6.1 | 7 | 8 | ## 快速开始 9 | 10 | 可以通过控制台或者 Serverless Devs 工具引用该层。 11 | 12 | ### 基于 Python Runtime 13 | 14 | 若选择 Python3.10 Runtime,添加该层后可直接引用 15 | 16 | ### 基于 Custom Runtime (debian10) 17 | 18 | 使用该层时,需要添加以下环境变量 19 | 20 | - `PYTHONPATH`环境变量需要添加 `/opt/python` 目录 21 | - `PATH` 环境变量需要添加 `/var/fc/lang/python3.10/bin` 目录,注意需要加到`PATH`的最前面 22 | 23 | 示例如下: 24 | 25 | ```shell 26 | PYTHONPATH=/opt/python 27 | PATH=/var/fc/lang/python3.10/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin 28 | ``` 29 | 30 | ## License 31 | 32 | [BSD-3](https://pandas.pydata.org/docs/getting_started/overview.html#license) 33 | 34 | ## 参考信息 35 | 36 | 维护者:阿里云-函数计算 37 | -------------------------------------------------------------------------------- /docs/ServerlessDevs/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】ServerlessDevs 3 | 4 | 一个开源开放的 Serverless 开发者平台,致力于为开发者提供强大的工具链体系. 5 | 6 | | ARN | 兼容运行时 | 版本 | 7 | |------|------|--------| 8 | | `acs:fc:{region}:official:layers/ServerlessDevs/versions/4` | `python3.12`,`custom.debian11`,`custom.debian10`,`python3.10`,`custom`,`python3.9`,`python3`,`nodejs16`,`nodejs14`,`java11`,`java8`,`go1`,`dotnetcore3.1`,`php7.2` | v3.1.3 | 9 | | `acs:fc:{region}:official:layers/ServerlessDevs/versions/2` | `custom.debian10`,`python3.10`,`custom`,`python3.9`,`python3`,`nodejs16`,`nodejs14`,`java11`,`java8`,`go1`,`dotnetcore3.1`,`php7.2` | v3.0.0 | 10 | | `acs:fc:{region}:official:layers/ServerlessDevs/versions/1` | `custom.debian10`,`python3.10`,`custom`,`python3.9`,`python3`,`nodejs16`,`nodejs14`,`java11`,`java8`,`go1`,`dotnetcore3.1`,`php7.2` | v2.1.14 | 11 | 12 | ## 快速开始 13 | 14 | 可以通过控制台或者 Serverless Devs 工具引用该层。 15 | 16 | ## License 17 | 18 | [Apache-2.0](https://github.com/Serverless-Devs/Serverless-Devs/blob/master/LICENSE) 19 | 20 | ## 参考信息 21 | 22 | 维护者:阿里云-函数计算 23 | -------------------------------------------------------------------------------- /docs/Sqlite3/README.md: -------------------------------------------------------------------------------- 1 | 2 | # 【官方公共层】SQLite3 3 | 4 | | ARN | 兼容运行时 | 版本 | 5 | |------|------|--------| 6 | | `acs:fc:{region}:official:layers/SQLite3/versions/1` | `custom`,`python3.9`,`nodejs16`,`nodejs14`,`java11`,`java8` | 3.41.1 | 7 | 8 | ## 快速开始 9 | 可以通过控制台或者 Serverless Devs 工具引用该层。 10 | 11 | `sqlite`可执行文件zip包的`bin`目录下下,在函数计算中会解压到 `/opt` 目录下,在函数计算运行环境内,`sqlite`的完整路径是`/opt/bin/sqlite`。 12 | 13 | ## License 14 | https://www.sqlite.org/copyright.html 15 | 16 | ## 参考信息 17 | 维护者:阿里云-函数计算 -------------------------------------------------------------------------------- /layers/Nodejs-Puppeteer17x/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM aliyunfc/runtime-nodejs14:build-latest 2 | 3 | ENV PATH /opt/bin:$PATH 4 | ENV LD_LIBRARY_PATH /opt/lib 5 | ENV NODE_PATH /opt/nodejs/node_modules 6 | WORKDIR /tmp 7 | 8 | # install nodejs package 9 | COPY ./package.json /opt/nodejs/ 10 | RUN cd /opt/nodejs \ 11 | && npm --registry https://registry.npmmirror.com i 12 | 13 | # install shared libraries 14 | RUN mkdir -p /opt/lib /tmp/install 15 | RUN apt-get update && apt-get install -y -d -o=dir::cache=/tmp/install \ 16 | libblas3 fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 \ 17 | libgtk-3-0 libnspr4 libnss3 libpangocairo-1.0-0 libxcb-dri3-0 \ 18 | libx11-xcb1 libxcb1 libxss1 libxtst6 lsb-release \ 19 | xdg-utils libatspi2.0-0 libatk1.0-0 libxkbcommon0 libepoxy0 \ 20 | libglapi-mesa libnspr4 libgbm-dev \ 21 | --reinstall --no-install-recommends 22 | 23 | RUN for f in $(ls /tmp/install/archives/*.deb); do \ 24 | echo "Preparing to unpack ${f##*/}"; \ 25 | cd /tmp/install/archives; \ 26 | dpkg-deb -x ${f##*/} /tmp/install; \ 27 | done; 28 | 29 | # copy libraries to /opt/lib 30 | RUN cp -r /tmp/install/usr/bin /opt/; \ 31 | cp -r /tmp/install/usr/lib/x86_64-linux-gnu/* /opt/lib/ 32 | 33 | # zip file 34 | # -y store symbolic links as the link instead of the referenced file 35 | # .[^.]* including hidden files and exclude the parent directory 36 | RUN cd /opt \ 37 | && zip -ry layer.zip * .[^.]* 38 | 39 | CMD ["bash"] 40 | -------------------------------------------------------------------------------- /layers/Nodejs-Puppeteer17x/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: all build buildx push 2 | SHELL := /bin/bash 3 | 4 | WORK_DIR := $(shell pwd) 5 | export WORK_DIR 6 | 7 | # layer image 8 | LAYER_IMAGE := fc-layer-tmp:nodejs-puppeteer 9 | 10 | build: 11 | docker build -t ${LAYER_IMAGE} -f Dockerfile . 12 | docker run --rm --entrypoint "" -v ${WORK_DIR}:/tmp ${LAYER_IMAGE} sh -c "cp /opt/layer.zip /tmp/" 13 | 14 | buildx: 15 | docker buildx build --push --platform linux/amd64 -t ${LAYER_IMAGE} -f Dockerfile . 16 | docker run --rm --entrypoint "" -v ${WORK_DIR}:/tmp ${LAYER_IMAGE} sh -c "cp /opt/layer.zip /tmp/" -------------------------------------------------------------------------------- /layers/Nodejs-Puppeteer17x/README.md: -------------------------------------------------------------------------------- 1 | # README 2 | 3 | [README.md](./../../docs/Nodejs-Puppeteer17x/README.md) -------------------------------------------------------------------------------- /layers/Nodejs-Puppeteer17x/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "puppeteer": "17.1.0" 4 | } 5 | } --------------------------------------------------------------------------------