mirror of https://github.com/milvus-io/milvus.git
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
parent
629da61617
commit
730b8604f2
|
@ -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/
|
||||
|
||||
|
|
|
@ -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/
|
||||
|
||||
|
|
|
@ -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/
|
||||
|
||||
|
|
|
@ -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/
|
||||
|
||||
|
|
|
@ -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/
|
||||
|
||||
|
|
|
@ -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/
|
||||
|
||||
|
|
Loading…
Reference in New Issue