serverlesspub / imagemagick-aws-lambda-2

ImageMagick for AWS Lambda 2 runtimes
https://serverless.pub
Other
259 stars 163 forks source link

Possibility to override versions #25

Open jstastny opened 4 years ago

jstastny commented 4 years ago

This enables running: make all IMAGEMAGICK_VERSION=7.0.9-20

We conditionally pass parameters like IMAGEMAGICK_VERSION=7.0.9-20 when invoking make inside Docker. The DOCKER_MAKE_PARAMS contains conditions to only have the parameters that are not empty. Otherwise we would pass empty variables like IMAGEMAGICK_VERSION= and the conditional parameter in Makefile_ImageMagick like IMAGEMAGICK_VERSION ?= 7.0.8-45 would not get applied.