aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tools/dockerfile
diff options
context:
space:
mode:
authorGravatar matt-kwong <matt-kwong@users.noreply.github.com>2017-03-08 17:49:48 -0800
committerGravatar GitHub <noreply@github.com>2017-03-08 17:49:48 -0800
commite188c7d39a92b144dc7b2e44ebdd41f80ac5323e (patch)
tree64ba6ec3f07cb39970d94d019dfa429a980b518b /templates/tools/dockerfile
parent2e0a82f14db01fc6adc4df207f76deb9263f4fc7 (diff)
parent5faabc45c5d74b62953121282cd55f45f41b64e4 (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.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