mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
fix: Add tzdata dependency to enable IANA Time Zone ID recognition (#45475)
issue: https://github.com/milvus-io/milvus/issues/45473 Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
This commit is contained in:
parent
69f3aab229
commit
843b487d1a
@ -8,7 +8,7 @@ Homepage: https://github.com/milvus-io/milvus
|
|||||||
|
|
||||||
Package: milvus
|
Package: milvus
|
||||||
Architecture: any-amd64
|
Architecture: any-amd64
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
Depends: ${shlibs:Depends}, ${misc:Depends}, tzdata
|
||||||
Description: An open-source vector dstabase for unstructured data.
|
Description: An open-source vector dstabase for unstructured data.
|
||||||
Milvus was created in 2019 with a singular goal: store, index, and manage massive embedding vectors generated by deep neural networks and other machine learning (ML) models.
|
Milvus was created in 2019 with a singular goal: store, index, and manage massive embedding vectors generated by deep neural networks and other machine learning (ML) models.
|
||||||
|
|
||||||
|
|||||||
@ -15,7 +15,7 @@ ARG TARGETARCH
|
|||||||
|
|
||||||
RUN dnf install -y wget g++ gcc gdb libatomic libstdc++-static ninja-build git make zip unzip tar which \
|
RUN dnf install -y wget g++ gcc gdb libatomic libstdc++-static ninja-build git make zip unzip tar which \
|
||||||
autoconf automake python3 python3-pip perl-FindBin texinfo \
|
autoconf automake python3 python3-pip perl-FindBin texinfo \
|
||||||
pkg-config libuuid-devel libaio perl-IPC-Cmd libasan openblas-devel && \
|
pkg-config libuuid-devel libaio perl-IPC-Cmd libasan openblas-devel tzdata && \
|
||||||
rm -rf /var/cache/yum/*
|
rm -rf /var/cache/yum/*
|
||||||
|
|
||||||
ENV GOPATH /go
|
ENV GOPATH /go
|
||||||
|
|||||||
@ -17,7 +17,7 @@ ARG TARGETARCH
|
|||||||
|
|
||||||
RUN dnf install -y make cmake automake gcc gcc-c++ curl zip unzip tar git which \
|
RUN dnf install -y make cmake automake gcc gcc-c++ curl zip unzip tar git which \
|
||||||
libaio libuuid-devel wget python3 python3-pip \
|
libaio libuuid-devel wget python3 python3-pip \
|
||||||
pkg-config perl-IPC-Cmd perl-Digest-SHA libatomic libtool
|
pkg-config perl-IPC-Cmd perl-Digest-SHA libatomic libtool tzdata
|
||||||
|
|
||||||
# install openblas-devel texinfo ninja
|
# install openblas-devel texinfo ninja
|
||||||
RUN dnf -y update && \
|
RUN dnf -y update && \
|
||||||
|
|||||||
@ -16,7 +16,7 @@ ARG TARGETARCH
|
|||||||
RUN apt-get update && apt-get install -y --no-install-recommends wget curl ca-certificates gnupg2 \
|
RUN apt-get update && apt-get install -y --no-install-recommends wget curl ca-certificates gnupg2 \
|
||||||
g++ gcc gdb gdbserver ninja-build git make ccache libssl-dev zlib1g-dev zip unzip \
|
g++ gcc gdb gdbserver ninja-build git make ccache libssl-dev zlib1g-dev zip unzip \
|
||||||
clang-format-12 clang-tidy-12 lcov libtool m4 autoconf automake python3 python3-pip \
|
clang-format-12 clang-tidy-12 lcov libtool m4 autoconf automake python3 python3-pip \
|
||||||
pkg-config uuid-dev libaio-dev libopenblas-dev && \
|
pkg-config uuid-dev libaio-dev libopenblas-dev tzdata && \
|
||||||
apt-get remove --purge -y && \
|
apt-get remove --purge -y && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|||||||
@ -16,7 +16,7 @@ ARG TARGETARCH
|
|||||||
RUN apt-get update && apt-get install -y --no-install-recommends wget curl ca-certificates gnupg2 \
|
RUN apt-get update && apt-get install -y --no-install-recommends wget curl ca-certificates gnupg2 \
|
||||||
g++ gcc gdb gdbserver ninja-build git make ccache libssl-dev zlib1g-dev zip unzip \
|
g++ gcc gdb gdbserver ninja-build git make ccache libssl-dev zlib1g-dev zip unzip \
|
||||||
clang-format-12 clang-tidy-12 lcov libtool m4 autoconf automake python3 python3-pip \
|
clang-format-12 clang-tidy-12 lcov libtool m4 autoconf automake python3 python3-pip \
|
||||||
pkg-config uuid-dev libaio-dev libopenblas-dev && \
|
pkg-config uuid-dev libaio-dev libopenblas-dev tzdata && \
|
||||||
apt-get remove --purge -y && \
|
apt-get remove --purge -y && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|||||||
@ -18,7 +18,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends wget curl ca-ce
|
|||||||
apt-get update && apt-get install -y --no-install-recommends \
|
apt-get update && apt-get install -y --no-install-recommends \
|
||||||
g++ gcc gfortran git make ccache libssl-dev zlib1g-dev zip unzip \
|
g++ gcc gfortran git make ccache libssl-dev zlib1g-dev zip unzip \
|
||||||
clang-format-12 clang-tidy-12 lcov libtool m4 autoconf automake python3 python3-pip \
|
clang-format-12 clang-tidy-12 lcov libtool m4 autoconf automake python3 python3-pip \
|
||||||
pkg-config uuid-dev libaio-dev libgoogle-perftools-dev libopenblas-dev && \
|
pkg-config uuid-dev libaio-dev libgoogle-perftools-dev libopenblas-dev tzdata && \
|
||||||
apt-get remove --purge -y && \
|
apt-get remove --purge -y && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|||||||
@ -7,7 +7,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends wget curl ca-ce
|
|||||||
apt-get update && apt-get install -y --no-install-recommends \
|
apt-get update && apt-get install -y --no-install-recommends \
|
||||||
g++ gcc gfortran git make ccache libssl-dev zlib1g-dev zip unzip \
|
g++ gcc gfortran git make ccache libssl-dev zlib1g-dev zip unzip \
|
||||||
clang-format-12 clang-tidy-12 lcov libtool m4 autoconf automake python3 python3-pip \
|
clang-format-12 clang-tidy-12 lcov libtool m4 autoconf automake python3 python3-pip \
|
||||||
pkg-config uuid-dev libaio-dev libgoogle-perftools-dev libopenblas-dev && \
|
pkg-config uuid-dev libaio-dev libgoogle-perftools-dev libopenblas-dev tzdata && \
|
||||||
apt-get remove --purge -y && \
|
apt-get remove --purge -y && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|||||||
@ -14,7 +14,7 @@ FROM amazonlinux:2023
|
|||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
ARG MILVUS_ASAN_LIB
|
ARG MILVUS_ASAN_LIB
|
||||||
|
|
||||||
RUN yum install -y wget libgomp libaio libatomic openblas-devel && \
|
RUN yum install -y wget libgomp libaio libatomic openblas-devel tzdata && \
|
||||||
rm -rf /var/cache/yum/*
|
rm -rf /var/cache/yum/*
|
||||||
|
|
||||||
# Add Tini
|
# Add Tini
|
||||||
|
|||||||
@ -20,7 +20,7 @@ FROM nvidia/cuda:11.8.0-runtime-ubuntu20.04
|
|||||||
ENV TZ=UTC
|
ENV TZ=UTC
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends curl libtbb-dev gfortran netcat iputils-ping ca-certificates liblapack3 libzstd-dev uuid-dev libaio-dev libboost-program-options-dev libboost-filesystem-dev && \
|
apt-get install -y --no-install-recommends curl libtbb-dev gfortran netcat iputils-ping ca-certificates liblapack3 libzstd-dev uuid-dev libaio-dev libboost-program-options-dev libboost-filesystem-dev tzdata && \
|
||||||
apt-get remove --purge -y && \
|
apt-get remove --purge -y && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|||||||
@ -7,7 +7,7 @@ RUN apt-get update && \
|
|||||||
apt-get install -y --no-install-recommends ca-certificates && \
|
apt-get install -y --no-install-recommends ca-certificates && \
|
||||||
sed -i 's/http:/https:/g' /etc/apt/sources.list && \
|
sed -i 's/http:/https:/g' /etc/apt/sources.list && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y --no-install-recommends curl libaio-dev libgomp1 libopenblas-dev && \
|
apt-get install -y --no-install-recommends curl libaio-dev libgomp1 libopenblas-dev tzdata && \
|
||||||
apt-get remove --purge -y && \
|
apt-get remove --purge -y && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FROM rockylinux/rockylinux:8
|
|||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
ARG MILVUS_ASAN_LIB
|
ARG MILVUS_ASAN_LIB
|
||||||
|
|
||||||
RUN dnf install -y wget libgomp libaio libatomic
|
RUN dnf install -y wget libgomp libaio libatomic tzdata
|
||||||
|
|
||||||
# install openblas-devel
|
# install openblas-devel
|
||||||
RUN dnf -y install dnf-plugins-core && \
|
RUN dnf -y install dnf-plugins-core && \
|
||||||
|
|||||||
@ -19,7 +19,7 @@ RUN apt-get update && \
|
|||||||
apt-get install -y --no-install-recommends ca-certificates && \
|
apt-get install -y --no-install-recommends ca-certificates && \
|
||||||
sed -i 's/http:/https:/g' /etc/apt/sources.list && \
|
sed -i 's/http:/https:/g' /etc/apt/sources.list && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y --no-install-recommends curl libaio-dev libgomp1 libopenblas-dev && \
|
apt-get install -y --no-install-recommends curl libaio-dev libgomp1 libopenblas-dev tzdata && \
|
||||||
apt-get remove --purge -y && \
|
apt-get remove --purge -y && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|||||||
@ -19,7 +19,7 @@ RUN apt-get update && \
|
|||||||
apt-get install -y --no-install-recommends ca-certificates && \
|
apt-get install -y --no-install-recommends ca-certificates && \
|
||||||
sed -i 's/http:/https:/g' /etc/apt/sources.list && \
|
sed -i 's/http:/https:/g' /etc/apt/sources.list && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y --no-install-recommends curl libaio-dev libgomp1 libopenblas-dev && \
|
apt-get install -y --no-install-recommends curl libaio-dev libgomp1 libopenblas-dev tzdata && \
|
||||||
apt-get remove --purge -y && \
|
apt-get remove --purge -y && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|||||||
@ -11,7 +11,7 @@ Version: %{version}
|
|||||||
Release: %{release}
|
Release: %{release}
|
||||||
Summary: Milvus V2 RPM
|
Summary: Milvus V2 RPM
|
||||||
License: Apache License 2.0
|
License: Apache License 2.0
|
||||||
Requires(preun): libstdc++ libgomp tbb-devel
|
Requires(preun): libstdc++ libgomp tbb-devel tzdata
|
||||||
# tbb-devel actually provides it, but not defined
|
# tbb-devel actually provides it, but not defined
|
||||||
Provides: libtbb.so()(64bit)
|
Provides: libtbb.so()(64bit)
|
||||||
BuildArch: x86_64
|
BuildArch: x86_64
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user