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

Export to .bashrc

parent 4f1bd2af
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -30,10 +30,9 @@ WORKDIR /builder ...@@ -30,10 +30,9 @@ WORKDIR /builder
ENV PYENV_ROOT "/builder/.pyenv" ENV PYENV_ROOT "/builder/.pyenv"
USER builder USER builder
RUN git clone https://github.com/pyenv/pyenv.git /builder/.pyenv && \ RUN git clone https://github.com/pyenv/pyenv.git /builder/.pyenv && \
echo "export PYENV_ROOT=$PYENV_ROOT" >> /builder/.profile && \ echo "export PYENV_ROOT=$PYENV_ROOT" >> /builder/.bashrc && \
echo "export PATH=$PYENV_ROOT/bin:$PATH" >> /builder/.profile echo "export PATH=$PYENV_ROOT/bin:$PATH" >> /builder/.bashrc
ENV PYENV_ROOT "/builder/.pyenv"
USER builder USER builder
RUN PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install --force 3.5.5 && \ RUN PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install --force 3.5.5 && \
PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install --force 3.6.4 PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install --force 3.6.4
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment