Giter VIP home page Giter VIP logo

ghostscript-lambda-layer's Introduction

Ghostscript for AWS Lambda as a 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:<YOUR REGION>:764866452798:layer:ghostscript:<VERSION>

Works with the following AWS Lambda runtimes which run on Amazon Linux 2:

  • nodejs16.x, nodejs14.x, nodejs12.x, nodejs10.x
  • python3.8
  • java11

Version Numbers

Ghostscript VERSION eu-west-3
v10.02.0 15 16
v10.0.0 13 14
v9.56.1 12 13
v9.55.0 9 10
v9.52.0 8 9
v9.50.0 6 7
v9.20.0 1 1

Where can I find the Ghostscript binary inside of Lambda after I attach the layer?

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

You can run /opt/bin/gs --version to make sure Ghostscript is up and running.

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

ghostscript-lambda-layer's People

Contributors

vladholubiev avatar vladgolubev avatar knupman avatar webjayant avatar renovate-bot avatar pawel-jaszczyszyn avatar yetithefoot avatar andreasgrimm avatar urg avatar ryancormack avatar donvitom avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.