mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 01:28:27 +08:00
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com> Co-authored-by: aoiasd <45024769+aoiasd@users.noreply.github.com>
This commit is contained in:
parent
52ab33ba88
commit
5edbc913d3
@ -14,7 +14,7 @@ ENV VCPKG_FORCE_SYSTEM_BINARIES 1
|
|||||||
|
|
||||||
# install vcpkg
|
# install vcpkg
|
||||||
RUN mkdir /opt/vcpkg && \
|
RUN mkdir /opt/vcpkg && \
|
||||||
wget -qO- vcpkg.tar.gz https://github.com/microsoft/vcpkg/archive/master.tar.gz | tar --strip-components=1 -xz -C /opt/vcpkg && \
|
wget -qO- vcpkg.tar.gz https://github.com/microsoft/vcpkg/archive/2025.06.13.tar.gz | tar --strip-components=1 -xz -C /opt/vcpkg && \
|
||||||
rm -rf vcpkg.tar.gz
|
rm -rf vcpkg.tar.gz
|
||||||
|
|
||||||
# empty the vscpkg toolchains linux.cmake file to avoid the error
|
# empty the vscpkg toolchains linux.cmake file to avoid the error
|
||||||
@ -53,7 +53,7 @@ ENV VCPKG_FORCE_SYSTEM_BINARIES 1
|
|||||||
|
|
||||||
# install vcpkg
|
# install vcpkg
|
||||||
RUN mkdir /opt/vcpkg && \
|
RUN mkdir /opt/vcpkg && \
|
||||||
wget -qO- vcpkg.tar.gz https://github.com/microsoft/vcpkg/archive/master.tar.gz | tar --strip-components=1 -xz -C /opt/vcpkg && \
|
wget -qO- vcpkg.tar.gz https://github.com/microsoft/vcpkg/archive/2025.06.13.tar.gz | tar --strip-components=1 -xz -C /opt/vcpkg && \
|
||||||
rm -rf vcpkg.tar.gz
|
rm -rf vcpkg.tar.gz
|
||||||
# Copy the vcpkg installed libraries
|
# Copy the vcpkg installed libraries
|
||||||
COPY --from=vcpkg-installer /root/.cache/vcpkg /root/.cache/vcpkg
|
COPY --from=vcpkg-installer /root/.cache/vcpkg /root/.cache/vcpkg
|
||||||
|
|||||||
@ -26,7 +26,7 @@ RUN echo "target arch $TARGETARCH"
|
|||||||
RUN wget -qO- "https://cmake.org/files/v3.27/cmake-3.27.5-linux-`uname -m`.tar.gz" | tar --strip-components=1 -xz -C /usr/local
|
RUN wget -qO- "https://cmake.org/files/v3.27/cmake-3.27.5-linux-`uname -m`.tar.gz" | tar --strip-components=1 -xz -C /usr/local
|
||||||
|
|
||||||
RUN mkdir /opt/vcpkg && \
|
RUN mkdir /opt/vcpkg && \
|
||||||
wget -qO- vcpkg.tar.gz https://github.com/microsoft/vcpkg/archive/master.tar.gz | tar --strip-components=1 -xz -C /opt/vcpkg && \
|
wget -qO- vcpkg.tar.gz https://github.com/microsoft/vcpkg/archive/2025.06.13.tar.gz | tar --strip-components=1 -xz -C /opt/vcpkg && \
|
||||||
rm -rf vcpkg.tar.gz
|
rm -rf vcpkg.tar.gz
|
||||||
|
|
||||||
ENV VCPKG_FORCE_SYSTEM_BINARIES 1
|
ENV VCPKG_FORCE_SYSTEM_BINARIES 1
|
||||||
|
|||||||
@ -32,7 +32,7 @@ RUN echo "target arch $TARGETARCH"
|
|||||||
RUN wget -qO- "https://cmake.org/files/v3.31/cmake-3.31.8-linux-`uname -m`.tar.gz" | tar --strip-components=1 -xz -C /usr/local
|
RUN wget -qO- "https://cmake.org/files/v3.31/cmake-3.31.8-linux-`uname -m`.tar.gz" | tar --strip-components=1 -xz -C /usr/local
|
||||||
|
|
||||||
RUN mkdir /opt/vcpkg && \
|
RUN mkdir /opt/vcpkg && \
|
||||||
wget -qO- vcpkg.tar.gz https://github.com/microsoft/vcpkg/archive/master.tar.gz | tar --strip-components=1 -xz -C /opt/vcpkg && \
|
wget -qO- vcpkg.tar.gz https://github.com/microsoft/vcpkg/archive/2025.06.13.tar.gz | tar --strip-components=1 -xz -C /opt/vcpkg && \
|
||||||
rm -rf vcpkg.tar.gz
|
rm -rf vcpkg.tar.gz
|
||||||
|
|
||||||
ENV VCPKG_FORCE_SYSTEM_BINARIES 1
|
ENV VCPKG_FORCE_SYSTEM_BINARIES 1
|
||||||
|
|||||||
@ -25,7 +25,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends wget curl ca-ce
|
|||||||
RUN pip3 install conan==1.64.1
|
RUN pip3 install conan==1.64.1
|
||||||
|
|
||||||
RUN mkdir /opt/vcpkg && \
|
RUN mkdir /opt/vcpkg && \
|
||||||
wget -qO- vcpkg.tar.gz https://github.com/microsoft/vcpkg/archive/master.tar.gz | tar --strip-components=1 -xz -C /opt/vcpkg && \
|
wget -qO- vcpkg.tar.gz https://github.com/microsoft/vcpkg/archive/2025.06.13.tar.gz | tar --strip-components=1 -xz -C /opt/vcpkg && \
|
||||||
rm -rf vcpkg.tar.gz
|
rm -rf vcpkg.tar.gz
|
||||||
|
|
||||||
ENV VCPKG_FORCE_SYSTEM_BINARIES 1
|
ENV VCPKG_FORCE_SYSTEM_BINARIES 1
|
||||||
|
|||||||
@ -22,7 +22,7 @@ RUN curl https://sh.rustup.rs -sSf | \
|
|||||||
ENV PATH=/root/.cargo/bin:/usr/local/bin:/usr/local/go/bin:$PATH
|
ENV PATH=/root/.cargo/bin:/usr/local/bin:/usr/local/go/bin:$PATH
|
||||||
|
|
||||||
RUN mkdir /opt/vcpkg && \
|
RUN mkdir /opt/vcpkg && \
|
||||||
wget -qO- vcpkg.tar.gz https://github.com/microsoft/vcpkg/archive/master.tar.gz | tar --strip-components=1 -xz -C /opt/vcpkg && \
|
wget -qO- vcpkg.tar.gz https://github.com/microsoft/vcpkg/archive/2025.06.13.tar.gz | tar --strip-components=1 -xz -C /opt/vcpkg && \
|
||||||
rm -rf vcpkg.tar.gz
|
rm -rf vcpkg.tar.gz
|
||||||
ENV VCPKG_FORCE_SYSTEM_BINARIES 1
|
ENV VCPKG_FORCE_SYSTEM_BINARIES 1
|
||||||
RUN /opt/vcpkg/bootstrap-vcpkg.sh -disableMetrics && ln -s /opt/vcpkg/vcpkg /usr/local/bin/vcpkg && vcpkg version
|
RUN /opt/vcpkg/bootstrap-vcpkg.sh -disableMetrics && ln -s /opt/vcpkg/vcpkg /usr/local/bin/vcpkg && vcpkg version
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user