Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 00beea5

Browse files
authoredDec 23, 2024
Merge pull request #9 from remithomas/upgrades
chore: upgrade versions
2 parents 3a5683f + 784aa31 commit 00beea5

9 files changed

+709
-4005
lines changed
 

‎docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: '3'
21
services:
32
sharp:
43
image: woss/aws-sharp-layer

‎layers/sharp/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
FROM amazonlinux as baseBox
1+
FROM amazonlinux as basebox
22

33
WORKDIR /app
44

55
RUN yum -y install make gcc* zip
6-
RUN curl --silent --location https://rpm.nodesource.com/setup_10.x | bash -
6+
RUN curl --silent --location https://rpm.nodesource.com/setup_20.x | bash -
77
RUN yum -y install nodejs
88

99
####################
1010
## SHARP LAYER BOX ##
1111
####################
12-
FROM baseBox as sharpLayerBox
12+
FROM basebox as sharpLayerBox
1313

1414
COPY . .
1515
RUN ["chmod", "+x", "build.sh"]

‎layers/sharp/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Variables
22
SHARP_VERSION=$(npm show sharp version)
3-
NODE_VERSION=10.16.3
3+
NODE_VERSION=22.12.0
44
SHARP_DIRECTORY=sharp-$SHARP_VERSION
55
TARBALL=sharp-$SHARP_VERSION-aws-lambda-linux-x64-node-$NODE_VERSION.zip
66

0 commit comments

Comments
 (0)
Please sign in to comment.