This repository builds standalone ImageMagick binaries for Amazon Linux 2 that can be copy-pasted to any AWS Lambda function or EC2 instance.
Blog post: https://www.bytescale.com/blog/installing-imagemagick-on-amazon-linux-2/
AWS Lambda Full Example: https://github.com/bytescale/aws-lambda-image-magick-resize-example
-
Run
maketo build forarm64Amazon Linux.- you also specify the platform, either
amd64orarm64like so:make PLATFORM=amd64 - check other make shortcuts in the
makefile.
- you also specify the platform, either
-
./binaries/resulton your host machine now contains a portable set of ImageMagick binaries!- simply compress the whole
resultfolder and upload it to AWS Layers
- simply compress the whole