enhance: [2.5]upgrade go toolchain to 1.22.7, remove unnecessary binary (#40399)

master pr: #40398

Signed-off-by: haorenfsa <haorenfsa@gmail.com>
pull/39958/merge
shaoyue 2025-03-06 19:28:05 +08:00 committed by GitHub
parent 629da61617
commit 730b8604f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 13 additions and 7 deletions

View File

@ -21,7 +21,8 @@ RUN yum install -y wget libgomp libaio libatomic openblas-devel && \
RUN curl -L -o /tini https://github.com/krallin/tini/releases/download/v0.19.0/tini-$TARGETARCH && \
chmod +x /tini
COPY --chown=root:root --chmod=774 ./bin/ /milvus/bin/
RUN mkdir -p /milvus/bin
COPY --chown=root:root --chmod=774 ./bin/milvus /milvus/bin/milvus
COPY --chown=root:root --chmod=774 ./configs/ /milvus/configs/

View File

@ -12,7 +12,8 @@ ARG MILVUS_BASE_IMAGE_REPO="milvusdb/milvus-base"
ARG MILVUS_BASE_IMAGE_TAG="gpu-20230822-34f9067"
FROM ${MILVUS_BASE_IMAGE_REPO}:${MILVUS_BASE_IMAGE_TAG}
COPY --chown=root:root --chmod=774 ./bin/ /milvus/bin/
RUN mkdir -p /milvus/bin
COPY --chown=root:root --chmod=774 ./bin/milvus /milvus/bin/milvus
COPY --chown=root:root --chmod=774 ./configs/ /milvus/configs/

View File

@ -11,7 +11,8 @@ RUN apt-get update && \
RUN curl -L -o /tini https://github.com/krallin/tini/releases/download/v0.19.0/tini-$TARGETARCH && \
chmod +x /tini
COPY --chown=root:root --chmod=774 ./bin/ /milvus/bin/
RUN mkdir -p /milvus/bin
COPY --chown=root:root --chmod=774 ./bin/milvus /milvus/bin/milvus
COPY --chown=root:root --chmod=774 ./configs/ /milvus/configs/
COPY --chown=root:root --chmod=774 ./lib/ /milvus/lib/

View File

@ -26,7 +26,8 @@ RUN dnf -y install dnf-plugins-core && \
RUN curl -L -o /tini https://github.com/krallin/tini/releases/download/v0.19.0/tini-$TARGETARCH && \
chmod +x /tini
COPY ./bin/ /milvus/bin/
RUN mkdir -p /milvus/bin
COPY ./bin/milvus /milvus/bin/milvus
COPY ./configs/ /milvus/configs/

View File

@ -23,7 +23,8 @@ RUN apt-get update && \
RUN curl -L -o /tini https://github.com/krallin/tini/releases/download/v0.19.0/tini-$TARGETARCH && \
chmod +x /tini
COPY --chown=root:root --chmod=774 ./bin/ /milvus/bin/
RUN mkdir -p /milvus/bin
COPY --chown=root:root --chmod=774 ./bin/milvus /milvus/bin/milvus
COPY --chown=root:root --chmod=774 ./configs/ /milvus/configs/

View File

@ -23,7 +23,8 @@ RUN apt-get update && \
RUN curl -L -o /tini https://github.com/krallin/tini/releases/download/v0.19.0/tini-$TARGETARCH && \
chmod +x /tini
COPY --chown=root:root --chmod=774 ./bin/ /milvus/bin/
RUN mkdir -p /milvus/bin
COPY --chown=root:root --chmod=774 ./bin/milvus /milvus/bin/milvus
COPY --chown=root:root --chmod=774 ./configs/ /milvus/configs/

2
go.mod
View File

@ -2,7 +2,7 @@ module github.com/milvus-io/milvus
go 1.22
toolchain go1.22.0
toolchain go1.22.7
require (
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.11.1