-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reducing cURL dependency size #28
Comments
The following command helps reduce the image size significantly:
33M /code/node_modules/aws-lambda-ric/deps/curl-7.77.0 |
This one seems pretty bonkers... Could it not just use a pre-installed libcurl and fail if its not available? |
This is fixed in #70. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Heya,
I've been looking at reducing the size of images generated with this lib and found that
105M
of the total323M
image size is being taken up by thecurl-7.77.0
directory:Within that dir there seem to be a bunch of files not required at runtime:
I'm assuming it's not safe to just delete
/code/node_modules/aws-lambda-ric/deps/curl-7.77.0
?... but presumably we could ditch some dirs such as
curl-7.77.0/tests
and the cache/log/configure/docs etc. files?The text was updated successfully, but these errors were encountered: