From 75cade10938773520be3c4cbc2494fb8d114aef8 Mon Sep 17 00:00:00 2001 From: Brian Zambrano Date: Tue, 11 Jul 2017 13:01:55 -0600 Subject: [PATCH] Create python3 version 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. --- Dockerfile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index bb38f54..1778c92 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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