diff --git a/Dockerfile b/Dockerfile index 240f915062fbee5c742926c6bade7944dd8b3d46..f1031cc44d8e6cacb5674c05ddc47b2c01be6661 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