From f0175645aaef5c08af4b9957db4cac33d015c365 Mon Sep 17 00:00:00 2001 From: Joe Clapis Date: Wed, 11 Oct 2023 02:56:03 -0400 Subject: [PATCH 1/2] Added CARGO_USE_GIT_CLI to the Dockerfile --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index bcddef8a6f3..f52bb56f14f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,10 @@ RUN apt-get update && apt-get -y upgrade && apt-get install -y cmake libclang-de COPY . lighthouse ARG FEATURES ARG PROFILE=release +ARG CARGO_USE_GIT_CLI=false ENV FEATURES $FEATURES ENV PROFILE $PROFILE +ENV CARGO_NET_GIT_FETCH_WITH_CLI=$CARGO_USE_GIT_CLI RUN cd lighthouse && make FROM ubuntu:22.04 From 9961c889167b4fc482cac5e6f005ead339bdd9cc Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Thu, 19 Oct 2023 10:30:56 +1100 Subject: [PATCH 2/2] Enable by default --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f52bb56f14f..878a3602bd2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ RUN apt-get update && apt-get -y upgrade && apt-get install -y cmake libclang-de COPY . lighthouse ARG FEATURES ARG PROFILE=release -ARG CARGO_USE_GIT_CLI=false +ARG CARGO_USE_GIT_CLI=true ENV FEATURES $FEATURES ENV PROFILE $PROFILE ENV CARGO_NET_GIT_FETCH_WITH_CLI=$CARGO_USE_GIT_CLI