GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bubblydoo/lambda-layer-sharp: An AWS Lambda Layer for the Sharp node module. Automatically published on updates.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

79 Commits
79 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
.mergify.yml
.mergify.yml
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
test.js
test.js
 
 
webpack.config.js
webpack.config.js
 
 

Repository files navigation

AWS Lambda layer for Sharp

Releases Build Layer ZIP

This AWS Lambda layer contains a pre-built Sharp binary. New releases are automatically published in this repository on each Sharp update.

Download

A pre-built layer zip file is available on the Releases page, alongside the size of the layer. Zip files for both x86_64 and arm64 are available.

Build

Dependencies

  • Docker

Steps

  1. Clone the repo:
    git clone [email protected]:bubblydoo/lambda-layer-sharp.git
    cd lambda-layer-sharp/
  2. Install dependencies:
    docker run -v "$PWD":/var/task lambci/lambda:build-nodejs12.x npm --no-optional --no-audit --progress=false install
  3. Build the layer:
    docker run -v "$PWD":/var/task lambci/lambda:build-nodejs12.x node ./node_modules/webpack/bin/webpack.js
  4. Perform a smoke-test:
    docker run -w /var/task/dist/nodejs -v "$PWD":/var/task lambci/lambda:build-nodejs12.x node -e "console.log(require('sharp'))"
  5. Import created layer into your AWS account:
    aws lambda publish-layer-version --layer-name sharp --description "Sharp layer" --license-info "Apache License 2.0" --zip-file fileb://dist/sharp-layer.zip --compatible-runtimes nodejs12.x

Auto-publish

The build Github Action is automatically triggered by Dependabot, merged by Mergify and then published by the same Github Action.

Credits

Originally forked from Umkus/lambda-layer-sharp.

About

An AWS Lambda Layer for the Sharp node module. Automatically published on updates.

Topics

aws-lambdaaws-lambda-layerimage-processingnodejssharp

Resources

Readme
Activity
Custom properties

Stars

20 stars

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.