Ghostscript AWS Lambda layer
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:
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 |
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.
Dockerfile
./build.sh
script which will produce ghostscript.zip
filepublish.sh
MIT © Shelf