Skip to content

Commit

Permalink
Create python3 version
Browse files Browse the repository at this point in the history
Base this on the python3.6 image which gets us `python3` as the default
interpreter.

Also remove some `apt-get install` commands as the `node` installation
process takes care of that.
  • Loading branch information
brianz committed Jul 11, 2017
1 parent 160cb1e commit 75cade1
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
FROM node:8.1.0
FROM python:3.6.1

ENV SERVERLESS_VERSION 1.17.0

RUN npm install serverless@${SERVERLESS_VERSION} -g
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
RUN apt-get install -y nodejs

RUN apt-get update
RUN apt-get install -y \
build-essential \
curl \
python-dev
RUN npm install serverless@${SERVERLESS_VERSION} -g

RUN mkdir /root/.aws

Expand Down

0 comments on commit 75cade1

Please sign in to comment.