Skip to content

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

-1
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

+3-3
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

+1-1
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

‎layers/sharp/nodejs/package-lock.json

+442-470
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎layers/sharp/nodejs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "sharp-layer",
33
"version": "1.0.0",
44
"dependencies": {
5-
"sharp": "^0.23.0"
5+
"sharp": "^0.33.5"
66
},
77
"keywords": [],
88
"author": {

‎layers/sharp/out/sharp-0.23.0-aws-lambda-linux-x64-node-10.16.3.zip

-3
This file was deleted.
Binary file not shown.

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "aws-lambda-layer-sharp",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"repository": "git@github.com:woss/aws-lambda-layer-sharp.git",
55
"author": "Daniel Maricic <daniel@woss.io>",
66
"license": "Apache",
77
"dependencies": {
8-
"serverless": "^1.52.0"
8+
"serverless": "^4.4.14"
99
},
1010
"scripts": {
1111
"deploy": "sls deploy"

‎yarn.lock

+260-3,524
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.