Skip to content
Snippets Groups Projects
Commit cee1ee16 authored by inso's avatar inso
Browse files

Install python in dockerfile

parent a26f2469
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment