diff options
author | Matt Kwong <mattkwong@google.com> | 2017-03-07 18:04:28 -0800 |
---|---|---|
committer | Matt Kwong <mattkwong@google.com> | 2017-03-08 12:42:24 -0800 |
commit | 5faabc45c5d74b62953121282cd55f45f41b64e4 (patch) | |
tree | 09680eeac1d80910cd6dd284483069e7377782ee /tools/dockerfile/test | |
parent | 18f8acf617f1937e105f8b660385b41f736c1064 (diff) |
Fix pyenv dockerfile
Diffstat (limited to 'tools/dockerfile/test')
-rw-r--r-- | tools/dockerfile/test/python_pyenv_x64/Dockerfile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/dockerfile/test/python_pyenv_x64/Dockerfile b/tools/dockerfile/test/python_pyenv_x64/Dockerfile index ecd785a86d..a596e42d2c 100644 --- a/tools/dockerfile/test/python_pyenv_x64/Dockerfile +++ b/tools/dockerfile/test/python_pyenv_x64/Dockerfile @@ -92,6 +92,9 @@ RUN apt-get update && apt-get install -y \ # Install Pyenv and dev Python versions 3.5 and 3.6 RUN curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash +ENV PATH /root/.pyenv/bin:$PATH +RUN eval "$(pyenv init -)" +RUN eval "$(pyenv virtualenv-init -)" RUN pyenv update RUN pyenv install 3.5-dev RUN pyenv install 3.6-dev |