From 703fcac81958c1cbeb359458329a4afd6ffb7a0a Mon Sep 17 00:00:00 2001 From: "sammy.huang" Date: Mon, 8 Apr 2024 14:57:16 +0800 Subject: [PATCH] enhance: add openblas in runtime env (#31974) Signed-off-by: Liang Huang --- build/docker/milvus/amazonlinux2023/Dockerfile | 2 +- build/docker/milvus/rockylinux8/Dockerfile | 2 +- build/docker/milvus/ubuntu20.04/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/docker/milvus/amazonlinux2023/Dockerfile b/build/docker/milvus/amazonlinux2023/Dockerfile index b51e4e0383..4ff24dfb45 100644 --- a/build/docker/milvus/amazonlinux2023/Dockerfile +++ b/build/docker/milvus/amazonlinux2023/Dockerfile @@ -13,7 +13,7 @@ FROM amazonlinux:2023 ARG TARGETARCH -RUN yum install -y wget libgomp libaio libatomic && \ +RUN yum install -y wget libgomp libaio libatomic openblas-devel && \ rm -rf /var/cache/yum/* COPY --chown=root:root --chmod=774 ./bin/ /milvus/bin/ diff --git a/build/docker/milvus/rockylinux8/Dockerfile b/build/docker/milvus/rockylinux8/Dockerfile index cbbc394bec..aa727951b8 100644 --- a/build/docker/milvus/rockylinux8/Dockerfile +++ b/build/docker/milvus/rockylinux8/Dockerfile @@ -14,7 +14,7 @@ FROM rockylinux/rockylinux:8 ARG TARGETARCH -RUN dnf install -y wget libgomp libaio libatomic && \ +RUN dnf install -y wget libgomp libaio libatomic openblas-devel && \ rm -rf /var/cache/yum/* COPY ./bin/ /milvus/bin/ diff --git a/build/docker/milvus/ubuntu20.04/Dockerfile b/build/docker/milvus/ubuntu20.04/Dockerfile index cf698d3203..842a948466 100644 --- a/build/docker/milvus/ubuntu20.04/Dockerfile +++ b/build/docker/milvus/ubuntu20.04/Dockerfile @@ -14,7 +14,7 @@ FROM ubuntu:focal-20220426 ARG TARGETARCH RUN apt-get update && \ - apt-get install -y --no-install-recommends curl ca-certificates libaio-dev libgomp1 && \ + apt-get install -y --no-install-recommends curl ca-certificates libaio-dev libgomp1 libopenblas-dev && \ apt-get remove --purge -y && \ rm -rf /var/lib/apt/lists/*