From 43efd71011b89b9b570aaded50d78ef4359b947b Mon Sep 17 00:00:00 2001 From: John Kirkham Date: Thu, 8 Oct 2015 20:15:24 -0400 Subject: [PATCH] Dockerfile: Turns out a copy of python is now packaged with this image. However, it blocks us from getting the development requirements that we want. As a result, we simply must purge this as our first step. --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Dockerfile b/Dockerfile index fbf3d66da..f8beff4ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,15 @@ ENV LANG en_US.UTF-8 ENV LC_ALL en_US.UTF-8 ENV PYTHONIOENCODING UTF-8 +# Remove preinstalled copy of python that blocks are ability to install development python. +RUN DEBIAN_FRONTEND=noninteractive apt-get remove -yq \ + python3-minimal \ + python3.4 \ + python3.4-minimal \ + libpython3-stdlib \ + libpython3.4-stdlib \ + libpython3.4-minimal + # Python binary and source dependencies RUN apt-get update -qq && \ DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends \