You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use your project in my lambda, but due to restriction of my company's infrastructure, I need to deploy the git layer to our own s3.
I uploaded this zip file to our s3 but it did not work, git is still unavailable.
My question is: Is this zip file supposed to work used like this?
It totally can be something on my end, but it appears that everything is as it should, so I came here to exclude this possibility :)
I did manage to go a step further than I was before, but I'm not there yet hahahhah
I'm using your build script to generate the zip file, and I'm getting the following error when I try to clone a repo:
/opt/libexec/git-core/git-remote-https: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory
I'm thinking that maybe I'm not using the correct docker image for my runtime?
My Lambda runs on node 12.x, and from what I got from the repo, the image you use to build is lambci/yumda:2 right?
Thank you so much! Any help will be appreciated :)
Activity
mhart commentedon May 25, 2021
Yep, that should work (make sure you're using the appropriate zipfile for your Lambda runtime) – you can just copy the commands here to publish your own layer: https://github.com/lambci/git-lambda-layer/blob/master/lambda2/publish.sh
arielwb commentedon May 31, 2021
Thank you for your reply!
I did manage to go a step further than I was before, but I'm not there yet hahahhah
I'm using your build script to generate the zip file, and I'm getting the following error when I try to clone a repo:
I'm thinking that maybe I'm not using the correct docker image for my runtime?
My Lambda runs on node 12.x, and from what I got from the repo, the image you use to build is
lambci/yumda:2right?Thank you so much! Any help will be appreciated :)
Mickaz89 commentedon Jul 26, 2021
Same error for me , i uploaded the zip but git still unavailable
Mickaz89 commentedon Jul 26, 2021
?
leumifintech commentedon Aug 9, 2021
?