|
|
@ -36,7 +36,7 @@ ENV HOME=/root
|
|
|
|
ENV PYENV_ROOT=$HOME/.pyenv
|
|
|
|
ENV PYENV_ROOT=$HOME/.pyenv
|
|
|
|
ENV PATH=$PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
|
|
|
|
ENV PATH=$PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
|
|
|
|
RUN \
|
|
|
|
RUN \
|
|
|
|
git clone --depth=1 https://github.com/yyuu/pyenv.git .pyenv && \
|
|
|
|
git clone --depth=1 https://github.com/yyuu/pyenv.git $HOME/.pyenv && \
|
|
|
|
pyenv install 3.7 && \
|
|
|
|
pyenv install 3.7 && \
|
|
|
|
pyenv global 3.7 && \
|
|
|
|
pyenv global 3.7 && \
|
|
|
|
pyenv rehash
|
|
|
|
pyenv rehash
|
|
|
|