From cee1ee16345943f1a5418bdd3c662e2b0dfe76e3 Mon Sep 17 00:00:00 2001
From: inso <insomniak.fr@gmail.com>
Date: Tue, 13 Feb 2018 19:30:20 +0000
Subject: [PATCH] Install python in dockerfile

---
 Dockerfile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index 240f915..f1031cc 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -26,6 +26,12 @@ RUN git clone https://github.com/pyenv/pyenv.git /builder/.pyenv && \
     echo "export PYENV_ROOT=$PYENV_ROOT" >> /builder/.profile && \
     echo "export PATH=$PYENV_ROOT/bin:$PATH" >> /builder/.profile
 
+ENV PYENV_ROOT "/builder/.pyenv"
+USER builder
+RUN PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install --force 3.5.5 && \
+    PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install --force 3.6.4
+
+    
 USER root
 
 # Entry point
-- 
GitLab