lifadev / archive_aws-lambda-go-shim

Author your AWS Lambda functions in Go, effectively.
https://github.com/eawsy/aws-lambda-go-shim
Apache License 2.0
789 stars 66 forks source link

Make file errors #9

Closed nextdimension closed 7 years ago

nextdimension commented 7 years ago

The instructions do not work

docker: Error response from daemon: invalid volume spec ":/tmp": invalid volume specification: ':/tmp'. See 'docker run --help'. Makefile:33: recipe for target 'all' failed make: *** [all] Error 125

I chaged the make file "$(PWD):/tmp" to "$PWD:/tmp" and then I get this error

make: No rule to make target `_all'. Stop. Makefile:33: recipe for target 'all' failed make: [all] Error 2

fsenart commented 7 years ago

Hi @nextdimension,

As the issue is highly related to your development environment. Can you please provide more information about the context (os, failing test, etc.).

nextdimension commented 7 years ago

@fsenart Hi,

I'm running linux, docker works fine, go is@version 1.8 and is working fine. I simply followed the instructions on your main page. I used your example go file, and your example make file. I followed your instructions to the letter.

When I use "make" the error I posted above occurs. What else do you want to know? my go installation is standard and all the environment PATHS are correctly setup.

fsenart commented 7 years ago

Can you please replace all references of $(PWD) with $(CURDIR) in your Makefile. In seems that the later is more portable. If it's ok for you, I will update the repo with this modification.

nextdimension commented 7 years ago

Thank you, that did it

fsenart commented 7 years ago

:wink: