Dockerfiles to aid in deploying and building Lambda functions using http://apex.run
1.7K
This does not yet work.
Dockerfile linksv0.10.2-go-1.6.3 (0.10.2/go-1.6.3/Dockerfile)v0.10.2, v0.10.2-go-1.7, latest (0.10.2/Dockerfile)Apex lets you build, deploy, and manage AWS Lambda functions with ease. With Apex you can use languages that are not natively supported by AWS Lambda, such as Golang, through the use of a Node.js shim injected into the build. A variety of workflow related tooling is provided for testing functions, rolling back deploys, viewing metrics, tailing logs, hooking into the build system and more. (Source)
polds/apex-docker:v0.10.2)docker pull polds/apex-docker:v0.10.2docker run -it polds/apex-docker:v0.10.2 apexThe workdir for this image is /opt/, all volumes should be mounted to this directory:
docker run -it -v .:/opt/ polds/apex-docker:v0.10.2 apex deploy myfunc
You will need to mount your ~/.aws folder into /root/.aws/ to properly get your AWS Credentials in place.
docker pull polds/apex-docker:latest