From 7b9ea6123f9218aebe85c8d25274f55fde7fb63f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?abstract=E2=81=B7?= <144500546+CitrixLab@users.noreply.github.com> Date: Fri, 24 Jan 2025 00:20:30 +0800 Subject: [PATCH] Update c-ares download URL in Dockerfile for proper installation This PR fixes an issue with the outdated c-ares download link in the following file: TargetMicroservices/socialNetwork/Dockerfile. The previous download link for c-ares-1.25.0.tar.gz was resulting in a 404 Not Found error. The URL has been updated to the correct location from the official c-ares GitHub release: Old URL: https://c-ares.org/download/c-ares-1.25.0.tar.gz New URL: https://github.com/c-ares/c-ares/releases/download/cares-1_25_0/c-ares-1.25.0.tar.gz Updating the link ensures that the Docker build process completes successfully and that the required c-ares dependency is installed without issues. --- TargetMicroservices/socialNetwork/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TargetMicroservices/socialNetwork/Dockerfile b/TargetMicroservices/socialNetwork/Dockerfile index c9d4945e..9a44f0d2 100644 --- a/TargetMicroservices/socialNetwork/Dockerfile +++ b/TargetMicroservices/socialNetwork/Dockerfile @@ -59,7 +59,7 @@ RUN wget https://github.com/protocolbuffers/protobuf/archive/refs/tags/v25.1.tar && cmake --build . --target install -- -j`nproc` # Dependency needed by grpc -RUN wget --no-check-certificate https://c-ares.org/download/c-ares-1.25.0.tar.gz \ +RUN wget https://github.com/c-ares/c-ares/releases/download/cares-1_25_0/c-ares-1.25.0.tar.gz \ && tar zxf c-ares-1.25.0.tar.gz \ && cd c-ares-1.25.0 \ && cmake -DCMAKE_C_FLAGS='-fPIC' -DCMAKE_CXX_FLAGS='-fPIC -std=gnu++11' -DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-7 \