RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Remove rust/cargo install in docker (#13739)
Jin Haif59d96f879d6
diff --git a/Dockerfile b/Dockerfileindex 8e02fdc725..35fd3249e4 100644--- a/Dockerfile+++ b/Dockerfile@@ -98,27 +98,11 @@ ENV PATH=/root/.local/bin:$PATH# nodejs 12.22 on Ubuntu 22.04 is too oldRUN --mount=type=cache,id=ragflow_apt,target=/var/cache/apt,sharing=locked \curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \- apt purge -y nodejs npm cargo && \+ apt purge -y nodejs npm && \apt autoremove -y && \apt update && \apt install -y nodejs-# A modern version of cargo is needed for the latest version of the Rust compiler.-RUN apt update && apt install -y curl build-essential \- && if [ "$NEED_MIRROR" == "1" ]; then \- # Use TUNA mirrors for rustup/rust dist files \- export RUSTUP_DIST_SERVER="https://mirrors.tuna.tsinghua.edu.cn/rustup"; \- export RUSTUP_UPDATE_ROOT="https://mirrors.tuna.tsinghua.edu.cn/rustup/rustup"; \- echo "Using TUNA mirrors for Rustup."; \- fi; \- # Force curl to use HTTP/1.1 \- curl --proto '=https' --tlsv1.2 --http1.1 -sSf https://sh.rustup.rs | bash -s -- -y --profile minimal \- && echo 'export PATH="/root/.cargo/bin:${PATH}"' >> /root/.bashrc--ENV PATH="/root/.cargo/bin:${PATH}"--RUN cargo --version && rustc --version-# Add msssql ODBC driver# macOS ARM64 environment, install msodbcsql18.# general x86_64 environment, install msodbcsql17.