mirror of https://github.com/milvus-io/milvus.git
Change the cmake version in docker envirorment (#8647)
Change the cmake version in ubuntu and centOS Resolves: milvus-io#8407 Signed-off-by: Shen Zhi <m13120163046@163.com>pull/8663/head
parent
6ab00add27
commit
5ff2c41c97
|
@ -12,7 +12,7 @@
|
|||
FROM milvusdb/openblas:centos7-20210706
|
||||
|
||||
RUN yum install -y epel-release centos-release-scl-rh && yum install -y wget curl which && \
|
||||
wget -qO- "https://cmake.org/files/v3.14/cmake-3.14.3-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local && \
|
||||
wget -qO- "https://cmake.org/files/v3.18/cmake-3.18.6-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local && \
|
||||
yum install -y git make automake openssl-devel zlib-devel \
|
||||
libcurl-devel python3-devel \
|
||||
devtoolset-7-gcc devtoolset-7-gcc-c++ devtoolset-7-gcc-gfortran \
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
FROM milvusdb/openblas:ubuntu18.04-20210428
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends wget curl ca-certificates gnupg2 && \
|
||||
wget -qO- "https://cmake.org/files/v3.14/cmake-3.14.3-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local && \
|
||||
wget -qO- "https://cmake.org/files/v3.18/cmake-3.18.6-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local && \
|
||||
apt-get update && apt-get install -y --no-install-recommends \
|
||||
g++ gcc gfortran git make ccache libssl-dev zlib1g-dev libboost-regex-dev libboost-program-options-dev libboost-system-dev libboost-filesystem-dev libboost-serialization-dev python3-dev libboost-python-dev libcurl4-openssl-dev libtbb-dev clang-format-10 clang-tidy-10 lcov && \
|
||||
apt-get remove --purge -y && \
|
||||
|
|
Loading…
Reference in New Issue