How can I install GraphicsMagick or ImageMagick on AWS Lambda?

I spun up the latest aws linux and ran the commands below. yum -y install gcc-c++ libpng-devel libjpeg-devel libtiff-devel wget wget https://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.26/GraphicsMagick-1.3.26.tar.gz tar zxvf GraphicsMagick-1.3.26.tar.gz cd GraphicsMagick-1.3.26 ./configure –prefix=/var/task/graphicsmagick –enable-shared=no –enable-static=yes make sudo make install tar zcvf ~/graphicsmagick.tgz /var/task/graphicsmagick/ I scp the dir down into my local and threw it in the package to be … Read more