Skip to content
Snippets Groups Projects
Commit 5faabc45 authored by Matt Kwong's avatar Matt Kwong
Browse files

Fix pyenv dockerfile

parent 18f8acf6
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,9 @@ RUN apt-get update && apt-get install -y ${'\\'} ...@@ -12,6 +12,9 @@ RUN apt-get update && apt-get install -y ${'\\'}
# Install Pyenv and dev Python versions 3.5 and 3.6 # 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 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 update
RUN pyenv install 3.5-dev RUN pyenv install 3.5-dev
RUN pyenv install 3.6-dev RUN pyenv install 3.6-dev
......
...@@ -44,7 +44,7 @@ cd - ...@@ -44,7 +44,7 @@ cd -
DOCKERHUB_ORGANIZATION=grpctesting DOCKERHUB_ORGANIZATION=grpctesting
for DOCKERFILE_DIR in tools/dockerfile/test/fuzzer tools/dockerfile/test/sanity for DOCKERFILE_DIR in tools/dockerfile/test/*
do do
# Generate image name based on Dockerfile checksum. That works well as long # Generate image name based on Dockerfile checksum. That works well as long
# as can count on dockerfiles being written in a way that changing the logical # as can count on dockerfiles being written in a way that changing the logical
......
...@@ -92,6 +92,9 @@ RUN apt-get update && apt-get install -y \ ...@@ -92,6 +92,9 @@ RUN apt-get update && apt-get install -y \
# Install Pyenv and dev Python versions 3.5 and 3.6 # 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 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 update
RUN pyenv install 3.5-dev RUN pyenv install 3.5-dev
RUN pyenv install 3.6-dev RUN pyenv install 3.6-dev
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment