mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-29 06:55:27 +08:00
Update Dockerfile
This commit is contained in:
parent
cfa9791d9c
commit
14141e3474
@ -4,11 +4,11 @@ ENV NVIDIA_DRIVER_CAPABILITIES compute,utility
|
||||
|
||||
RUN yum install -y epel-release centos-release-scl-rh && yum install -y wget curl && \
|
||||
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 && \
|
||||
yum install -y ccache make automake git python3-pip libcurl-devel python3-devel boost-static devtoolset-6-gcc llvm-toolset-7.0-clang lcov \
|
||||
yum install -y ccache make automake git python3-pip libcurl-devel python3-devel boost-static devtoolset-7-gcc llvm-toolset-7.0-clang lcov \
|
||||
&& \
|
||||
rm -rf /var/cache/yum/*
|
||||
|
||||
RUN echo "source scl_source enable devtoolset-6" >> /etc/profile.d/devtoolset-6.sh
|
||||
RUN echo "source scl_source enable devtoolset-7" >> /etc/profile.d/devtoolset-7.sh
|
||||
RUN echo "source scl_source enable llvm-toolset-7" >> /etc/profile.d/llvm-toolset-7.sh
|
||||
|
||||
ENV CLANG_TOOLS_PATH="/opt/rh/llvm-toolset-7.0/root/usr/bin"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user