Skip to content

Commit 15fcf19

Browse files
authored
added Python3.7 to the CI image (#295)
1 parent 721ab25 commit 15fcf19

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: Dockerfiles/CI/Dockerfile

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
66
&& rm -rf /var/lib/apt/lists/*
77

88
ENV PROTOBUF_VER 3.8.0
9+
ENV PATH="/miniconda/bin:${PATH}"
910

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

0 commit comments

Comments
 (0)