|
10 | 10 |
|
11 | 11 | ## How this layer is built?
|
12 | 12 |
|
13 | | -The Lambda Layer is built from source of node-canvas npm package on EC2 instance, with following native dependencies installed. Please check ``` build-layer.sh ``` for details. |
| 13 | +The Lambda Layer is built from source of node-canvas npm package on [amazonlinux](https://hub.docker.com/_/amazonlinux) dev container instance, with following native dependencies installed. Please check ``` build-layer.sh ``` for details. |
14 | 14 |
|
15 | 15 | ```bash
|
16 | | -gcc-c++ cairo-devel pango-devel libjpeg-turbo-devel giflib-devel librsvg2-devel pango-devel bzip2-devel |
| 16 | +gcc-c++ cairo-devel pango-devel libjpeg-turbo-devel giflib-devel librsvg2-devel pango-devel bzip2-devel jq python3 |
17 | 17 | ```
|
18 | 18 |
|
19 | 19 | Since AWS Lambda is a secure and isolated runtime and execution environment, this layer aims to target AWS Lambda compatible build. As there are canvas libraries and frameworks relying on node-canvas running on Node.js runtime, this layer also tries to include and support these libraries and frameworks.
|
|
0 commit comments