Skip to content

pickedmelon/ghostscript-lambda-layer

 
 

Repository files navigation

ghostscript-lambda-layer

Ghostscript AWS Lambda layer

Getting Started

Click on Layers and choose "Add a layer", and "Provide a layer version ARN" and enter the following ARN.

arn:aws:lambda:us-east-1:764866452798:layer:ghostscript:1

Current version of Ghostscript is 9.20

Available regions

  • ap-northeast-1
  • ap-northeast-2
  • ap-south-1
  • ap-southeast-1
  • ap-southeast-2
  • ca-central-1
  • eu-north-1
  • eu-central-1
  • eu-west-1
  • eu-west-2
  • eu-west-3
  • sa-east-1
  • us-east-1
  • us-east-2
  • us-west-1
  • us-west-2

Where can I find Ghostscript binary inside of Lambda when I attached the layer?

You can find it at /opt/bin/gs (/opt is where Lambda unpacks layers).

Update

  1. Change version number & git tag in the Dockerfile
  2. Run ./build.sh script which will produce ghostscript.zip file
  3. Change version number in the publish.sh
  4. Commit & Create a Pull Request
  5. After merging, a new layer version will be published by the CI automatically

License

MIT © Shelf

About

Ghostscript AWS Lambda layer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 62.1%
  • Dockerfile 37.9%