Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shelfio/ghostscript-lambda-layer
Ghostscript AWS Lambda layer
https://github.com/shelfio/ghostscript-lambda-layer
aws aws-lambda ghostscript lambda-layer
Last synced: 11 days ago
JSON representation
Ghostscript AWS Lambda layer
- Host: GitHub
- URL: https://github.com/shelfio/ghostscript-lambda-layer
- Owner: shelfio
- License: mit
- Created: 2019-08-29T09:04:05.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-02-19T19:10:51.000Z (9 months ago)
- Last Synced: 2024-08-02T06:13:46.324Z (3 months ago)
- Topics: aws, aws-lambda, ghostscript, lambda-layer
- Language: Shell
- Size: 55.8 MB
- Stars: 94
- Watchers: 14
- Forks: 33
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
- awesome-layers - `shelfio/ghostscript-lambda-layer` - version/us-east-1/764866452798/ghostscript) | (Layers / Utilities)
README
# 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::764866452798:layer:ghostscript:
```Works with the following [AWS Lambda runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html) 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.04.0 | 17 | 18 |
| 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](https://shelf.io)