lifadev / archive_aws-lambda-go-shim

Author your AWS Lambda functions in Go, effectively.

Home Page:https://github.com/eawsy/aws-lambda-go-shim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make file errors

nextdimension opened this issue · comments

commented

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

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.).

commented

@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.

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.

commented

Thank you, that did it