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:
zhenshan.cao 2025-11-11 14:43:37 +08:00 committed by GitHub
parent 69f3aab229
commit 843b487d1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
14 changed files with 14 additions and 14 deletions

View File

@ -8,7 +8,7 @@ Homepage: https://github.com/milvus-io/milvus
Package: milvus
Architecture: any-amd64
Depends: ${shlibs:Depends}, ${misc:Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}, tzdata
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.

View File

@ -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 \
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/*
ENV GOPATH /go

View File

@ -17,7 +17,7 @@ ARG TARGETARCH
RUN dnf install -y make cmake 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
pkg-config perl-IPC-Cmd perl-Digest-SHA libatomic libtool tzdata
# install openblas-devel texinfo ninja
RUN dnf -y update && \

View File

@ -16,7 +16,7 @@ ARG TARGETARCH
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 \
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 && \
rm -rf /var/lib/apt/lists/*

View File

@ -16,7 +16,7 @@ ARG TARGETARCH
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 \
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 && \
rm -rf /var/lib/apt/lists/*

View File

@ -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 \
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 \
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 && \
rm -rf /var/lib/apt/lists/*

View File

@ -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 \
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 \
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 && \
rm -rf /var/lib/apt/lists/*

View File

@ -14,7 +14,7 @@ FROM amazonlinux:2023
ARG TARGETARCH
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/*
# Add Tini

View File

@ -20,7 +20,7 @@ FROM nvidia/cuda:11.8.0-runtime-ubuntu20.04
ENV TZ=UTC
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 && \
rm -rf /var/lib/apt/lists/*

View File

@ -7,7 +7,7 @@ RUN apt-get update && \
apt-get install -y --no-install-recommends ca-certificates && \
sed -i 's/http:/https:/g' /etc/apt/sources.list && \
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 && \
rm -rf /var/lib/apt/lists/*

View File

@ -15,7 +15,7 @@ FROM rockylinux/rockylinux:8
ARG TARGETARCH
ARG MILVUS_ASAN_LIB
RUN dnf install -y wget libgomp libaio libatomic
RUN dnf install -y wget libgomp libaio libatomic tzdata
# install openblas-devel
RUN dnf -y install dnf-plugins-core && \

View File

@ -19,7 +19,7 @@ RUN apt-get update && \
apt-get install -y --no-install-recommends ca-certificates && \
sed -i 's/http:/https:/g' /etc/apt/sources.list && \
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 && \
rm -rf /var/lib/apt/lists/*

View File

@ -19,7 +19,7 @@ RUN apt-get update && \
apt-get install -y --no-install-recommends ca-certificates && \
sed -i 's/http:/https:/g' /etc/apt/sources.list && \
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 && \
rm -rf /var/lib/apt/lists/*

View File

@ -11,7 +11,7 @@ Version: %{version}
Release: %{release}
Summary: Milvus V2 RPM
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
Provides: libtbb.so()(64bit)
BuildArch: x86_64