Last active
March 10, 2019 17:21
-
-
Save sonjisov/43fe1525b771dd8905ffd8396bd64380 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