Skip to content

Commit

Permalink
make cargo build robust to network failure for git dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
larry-aptos committed Apr 17, 2024
1 parent 073b0ee commit c22dc9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rust/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ WORKDIR /app
COPY --link . /app

RUN apt-get update && apt-get install -y cmake curl clang git pkg-config libssl-dev libpq-dev lld
ENV CARGO_NET_GIT_FETCH_WITH_CLI true
RUN cargo build --locked --release -p processor
RUN cp target/release/processor /usr/local/bin
RUN cargo build --locked --release -p indexer-metrics
Expand Down

0 comments on commit c22dc9c

Please sign in to comment.