Skip to content
This repository was archived by the owner on Jun 24, 2024. It is now read-only.

[ExecEnv] Update to work with AmazonLinux1803#3

Merged
metaskills merged 2 commits intomasterfrom
AmazonLinux1803
May 23, 2019
Merged

[ExecEnv] Update to work with AmazonLinux1803#3
metaskills merged 2 commits intomasterfrom
AmazonLinux1803

Conversation

@metaskills
Copy link
Contributor

@metaskills
Copy link
Contributor Author

I've decided to use clang and set the --without-magick argument. Each of these progressively got the layer file size down. Details here both zipped and unzipped.

2.8M libvips-master.zip
9.4M libvips-master

2.5M libvips-clang.zip
8.2M libvips-clang

2.4M libvips-clang-without-magick.zip
8.1M libvips-clang-without-magick

Lastly, I cionfirmed that my Lambda using this layer worked prior to this compile change and for all changes here.

@metaskills metaskills merged commit e696e8a into master May 23, 2019
@metaskills
Copy link
Contributor Author

OH! The reason I decided that without imagemagick was OK to commit is that I think it's dynamic usage in Lambda via libvips might have negative side effects. So I felt it was best to do one thing well and get libvips installed with no added gotchas.

@metaskills metaskills deleted the AmazonLinux1803 branch April 30, 2020 23:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant