Skip to content

Commit

Permalink
Added CARGO_USE_GIT_CLI to the Dockerfile (#4828)
Browse files Browse the repository at this point in the history
  • Loading branch information
jclapis authored and michaelsproul committed Oct 16, 2023
1 parent cb9e22d commit 6f0a498
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f0a498

Please sign in to comment.