diff options
author | matt-kwong <matt-kwong@users.noreply.github.com> | 2017-03-08 17:49:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-08 17:49:48 -0800 |
commit | e188c7d39a92b144dc7b2e44ebdd41f80ac5323e (patch) | |
tree | 64ba6ec3f07cb39970d94d019dfa429a980b518b /templates/tools/dockerfile | |
parent | 2e0a82f14db01fc6adc4df207f76deb9263f4fc7 (diff) | |
parent | 5faabc45c5d74b62953121282cd55f45f41b64e4 (diff) |
Merge pull request #10033 from matt-kwong/fix-dockerfiles
Fix pyenv Dockerfile
Diffstat (limited to 'templates/tools/dockerfile')
-rw-r--r-- | templates/tools/dockerfile/apt_get_pyenv.include | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/tools/dockerfile/apt_get_pyenv.include b/templates/tools/dockerfile/apt_get_pyenv.include index 816b27904f..ef0964e597 100644 --- a/templates/tools/dockerfile/apt_get_pyenv.include +++ b/templates/tools/dockerfile/apt_get_pyenv.include @@ -12,6 +12,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 |