Skip to content

Add Python3.7 to the CI image #295

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 22, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Dockerfiles/CI/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

ENV PROTOBUF_VER 3.8.0
ENV PATH="/miniconda/bin:${PATH}"

# NOTE: most of the following assume WORDKIR is '/'
RUN set -ex \
Expand All @@ -24,4 +25,7 @@ RUN set -ex \
&& cp ./bin/* /bin/ \
# protoc will search for default includes in the path of the binary
&& cp -r ./include /bin/ \
&& cd .. && rm -rf protobuf
&& cd .. && rm -rf protobuf \
# Install a recent version of Python
&& curl -o $HOME/miniconda.sh -LO https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
&& chmod +x $HOME/miniconda.sh && bash ~/miniconda.sh -b -p /miniconda && rm -f $HOME/miniconda.sh