Skip to content

Instantly share code, notes, and snippets.

@gerrard00
Created February 22, 2017 16:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gerrard00/ff6aec84bf390c470d56a0efc7f3731c to your computer and use it in GitHub Desktop.
Save gerrard00/ff6aec84bf390c470d56a0efc7f3731c to your computer and use it in GitHub Desktop.
Dockerfile for running a container that can be used to test AWS Lambda functions written in node
FROM amazonlinux
RUN curl -O https://nodejs.org/dist/v4.3.0/node-v4.3.0-linux-x64.tar.gz
RUN tar --strip-components 1 -xzvf node-v* -C /usr/local
RUN rm node-v4.3.0-linux-x64.tar.gz
CMD ["/bin/bash"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment