From 2596671d3fa70eca50bd6016a65b02da9f77d0dd Mon Sep 17 00:00:00 2001 From: Ying Hu Date: Mon, 12 May 2025 11:40:33 +0800 Subject: [PATCH] Update README.md for remove the docker installer (#1927) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- ChatQnA/docker_compose/install_docker.sh | 35 ----------------------- GraphRAG/README.md | 2 +- GraphRAG/docker_compose/install_docker.sh | 35 ----------------------- 3 files changed, 1 insertion(+), 71 deletions(-) delete mode 100644 ChatQnA/docker_compose/install_docker.sh delete mode 100644 GraphRAG/docker_compose/install_docker.sh diff --git a/ChatQnA/docker_compose/install_docker.sh b/ChatQnA/docker_compose/install_docker.sh deleted file mode 100644 index 8774c5756..000000000 --- a/ChatQnA/docker_compose/install_docker.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -# Update the package index -sudo apt-get -y update - -# Install prerequisites -sudo apt-get -y install ca-certificates curl - -# Create the directory for the Docker GPG key -sudo install -m 0755 -d /etc/apt/keyrings - -# Add Docker's official GPG key -sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc - -# Set permissions for the GPG key -sudo chmod a+r /etc/apt/keyrings/docker.asc - -# Add Docker repository to the sources list -echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ - $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null - -# Update the package index with Docker packages -sudo apt-get -y update - -# Install Docker packages -sudo apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin - -# add existing user -sudo usermod -aG docker $USER - -# Optional: Verify that Docker is installed correctly -sudo docker --version diff --git a/GraphRAG/README.md b/GraphRAG/README.md index 3c9de58d6..314e18a0e 100644 --- a/GraphRAG/README.md +++ b/GraphRAG/README.md @@ -18,7 +18,7 @@ Quick Start Deployment Steps: 2. Run Docker Compose. 3. Consume the GraphRAG Service. -Note: If you do not have docker installed you can run this script to install docker : `bash docker_compose/install_docker.sh` +Note: If you do not have Docker installed you can [install Docker](https://docs.docker.com/engine/install/) first ### Quick Start: 1.Setup Environment Variable diff --git a/GraphRAG/docker_compose/install_docker.sh b/GraphRAG/docker_compose/install_docker.sh deleted file mode 100644 index d2a495bde..000000000 --- a/GraphRAG/docker_compose/install_docker.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -# Update the package index -sudo apt-get -y update - -# Install prerequisites -sudo apt-get -y install ca-certificates curl --no-install-recommends --fix-missing - -# Create the directory for the Docker GPG key -sudo install -m 0755 -d /etc/apt/keyrings - -# Add Docker's official GPG key -sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc - -# Set permissions for the GPG key -sudo chmod a+r /etc/apt/keyrings/docker.asc - -# Add Docker repository to the sources list -echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ - $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null - -# Update the package index with Docker packages -sudo apt-get -y update - -# Install Docker packages -sudo apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin --no-install-recommends --fix-missing - -# add existing user -sudo usermod -aG docker $USER - -# Optional: Verify that Docker is installed correctly -sudo docker --version