aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tools
diff options
context:
space:
mode:
authorGravatar Matt Kwong <mattkwong@google.com>2017-03-07 18:04:28 -0800
committerGravatar Matt Kwong <mattkwong@google.com>2017-03-08 12:42:24 -0800
commit5faabc45c5d74b62953121282cd55f45f41b64e4 (patch)
tree09680eeac1d80910cd6dd284483069e7377782ee /templates/tools
parent18f8acf617f1937e105f8b660385b41f736c1064 (diff)
Fix pyenv dockerfile
Diffstat (limited to 'templates/tools')
-rw-r--r--templates/tools/dockerfile/apt_get_pyenv.include3
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