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

Run pyenv without .profile

parent e87271e3
Branches
Tags
No related merge requests found
......@@ -30,16 +30,12 @@ WORKDIR /builder
ENV PYENV_ROOT "/builder/.pyenv"
USER builder
RUN git clone https://github.com/pyenv/pyenv.git /builder/.pyenv && \
echo "export PYENV_ROOT=$PYENV_ROOT" >> /builder/.bashrc && \
echo "export PATH=$PYENV_ROOT/bin:$PATH" >> /builder/.bashrc
USER builder
RUN PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install --force 3.5.5 && \
export PATH=$PYENV_ROOT/bin:$PATH
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
COPY bootstrap.sh /root/bootstrap.sh
RUN chmod u+x /root/bootstrap.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment