Skip to content

Commit be303a4

Browse files
author
Charoite Lee
committed
1 parent 2e889cd commit be303a4

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

build-layer.sh

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
#!/bin/sh
22
#
33
# Setup environment before build layer
4-
# sudo yum update -y
5-
# sudo yum groupinstall "Development Tools" -y
6-
# sudo yum install gcc-c++ cairo-devel pango-devel libjpeg-turbo-devel giflib-devel librsvg2-devel pango-devel bzip2-devel jq
4+
# yum update -y
5+
# yum groupinstall "Development Tools" -y
6+
# yum install gcc-c++ cairo-devel pango-devel libjpeg-turbo-devel giflib-devel librsvg2-devel pango-devel bzip2-devel jq python3 -y
7+
#
8+
# Setting Up Node.js, refer https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/setting-up-node-on-ec2-instance.html for details
9+
# curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
10+
# . ~/.nvm/nvm.sh
11+
# nvm install --lts
712
#
813
set -e
914

1015
LAYER_NAME=canvas-nodejs
1116
LAYER_DESCRIPTION="AWS Lambda Layer with node-canvas and its dependencies packaged, provides a Cairo backed Mozilla Web Canvas API implementation with additional features."
12-
LAYER_VERSION=2.9.3
17+
LAYER_VERSION=2.10.1
1318
LAYER_AUTHOR="Charoite Lee"
1419

1520
# Remove packaged layer if exists

lib/libxml2.so.2

24 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)