-
-
Save ardeshir/74627d2075c8d4db4091ee5e03a3ff1f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM amazonlinux:latest | |
RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash | |
RUN export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] \ | |
&& \. "$NVM_DIR/nvm.sh" && [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" \ | |
&& nvm install v6.10.0 \ | |
&& npm install serverless -g \ | |
&& npm install newman -g \ | |
&& npm install serverless-localstack -g | |
# Installing pip | |
RUN yum install -y python-pip | |
RUN yum install -y python-setuptools | |
RUN easy_install-2.6 pip | |
RUN pip install awscli-local | |
RUN echo "All done" | |
# Run with docker run --rm -v /git:/git -it my-dev-image-yo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment