Skip to content

Commit

Permalink
Dockerfile for serverless 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
brianz committed Jan 4, 2017
1 parent e68d0d2 commit fc1cd77
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
FROM node

ENV SERVERLESS_VERSION 1.3.0

RUN npm install serverless@${SERVERLESS_VERSION} -g

RUN apt-get update
RUN apt-get install -y \
build-essential \
curl \
python-dev

RUN mkdir /root/.aws

RUN curl -s https://bootstrap.pypa.io/get-pip.py | python
RUN pip install \
awscli \
pep8 \
pytest \
pytest-cov \
pytest-mock \
boto3

RUN echo "alias ll='ls -alFh --color=auto'" >> /root/.bashrc
RUN echo "alias l='ls -alFh --color=auto'" >> /root/.bashrc

RUN mkdir /code
WORKDIR /code

0 comments on commit fc1cd77

Please sign in to comment.