enhance: use openblas-devel instead (#32284)

Signed-off-by: Liang Huang <sammy.huang@zilliz.com>
This commit is contained in:
sammy.huang 2024-04-15 22:14:43 +08:00 committed by GitHub
parent 053347637b
commit df2ca7f312
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 6 deletions

View File

@ -2,12 +2,12 @@ FROM rockylinux/rockylinux:8
RUN dnf install -y make automake gcc gcc-c++ curl zip unzip tar git which \
libaio libuuid-devel wget python3 python3-pip \
pkg-config perl-IPC-Cmd perl-Digest-SHA libatomic libtool openblas
pkg-config perl-IPC-Cmd perl-Digest-SHA libatomic libtool
RUN dnf -y update && \
dnf -y install dnf-plugins-core && \
# install openblas-devel and texinfo
RUN dnf -y install dnf-plugins-core && \
dnf config-manager --set-enabled powertools && \
dnf -y install texinfo
dnf -y install texinfo openblas-devel
RUN pip3 install conan==1.61.0
RUN wget https://go.dev/dl/go1.21.6.linux-amd64.tar.gz && tar -xvf go1.21.6.linux-amd64.tar.gz -C /usr/local

View File

@ -14,8 +14,12 @@ FROM rockylinux/rockylinux:8
ARG TARGETARCH
RUN dnf install -y wget libgomp libaio libatomic openblas && \
rm -rf /var/cache/yum/*
RUN dnf install -y wget libgomp libaio libatomic
# install openblas-devel
RUN dnf -y install dnf-plugins-core && \
dnf config-manager --set-enabled powertools && \
dnf -y install openblas-devel
COPY ./bin/ /milvus/bin/