From 8f7331bed7f378f81277f7572331a058b8470d6b Mon Sep 17 00:00:00 2001 From: Christopher Grebs Date: Wed, 2 Jan 2019 11:54:19 +0100 Subject: [PATCH] Don't explicitly install npm, update Python to 2.7.15 Our docker builds were broken because of some inter-dependency weirdness going on when you're installing npm and nodejs in one apt-get call. To be honest I was too lazy to look up the actual root cause given the fix is quite simple and npm is part of nodejs anyway. This PR updates the Python version to 2.7.15 along the way. --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 89d695b387..3e028fb29d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:2.7.14-slim-stretch +FROM python:2.7.15-slim-stretch ENV PYTHONDONTWRITEBYTECODE=1 @@ -31,7 +31,6 @@ RUN apt-get update && apt-get install -y \ python-dev \ python-pip \ nodejs \ - npm \ # Git, because we're using git-checkout dependencies git \ # Dependencies for mysql-python