Hey,
I’m trying to build & deploy AWS lambda function by replicating local process in Codefresh pipeline.
In the pipeline I build image with all resources and execute sam build
I get error - requires Docker. is Docker running?
which totally makes sense - after all I’m executing commands inside docker image, which does not have docker inside. I tried to expose docker inside docker using
volumes:
- /var/run/docker.sock:/var/run/docker.sock
also without luck. So is there a way to sam build
in Codefresh pipeline, or I need more programatical way of creating image ?