From 12bf1d411a01d9d7f33a936270db1ba7487245c7 Mon Sep 17 00:00:00 2001 From: NathanFlurry Date: Wed, 15 May 2024 00:35:24 +0000 Subject: [PATCH] fix(bolt): copy & install git in docker for cluster build.rs (#769) cluster-util build.rs script relies on Git This will be removed in a future PR --- .dockerignore | 4 ++-- lib/bolt/core/src/dep/cargo/cli.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.dockerignore b/.dockerignore index d83bad898a..379491ca22 100644 --- a/.dockerignore +++ b/.dockerignore @@ -4,8 +4,8 @@ # Dockerfiles to. # Git -**/.git/ -**/.gitignore +# **/.git/ +# **/.gitignore **/.DS_Store **/symbolCache.db diff --git a/lib/bolt/core/src/dep/cargo/cli.rs b/lib/bolt/core/src/dep/cargo/cli.rs index 02a1e25d7f..e64bd16147 100644 --- a/lib/bolt/core/src/dep/cargo/cli.rs +++ b/lib/bolt/core/src/dep/cargo/cli.rs @@ -148,7 +148,7 @@ pub async fn build<'a, T: AsRef>(ctx: &ProjectContext, opts: BuildOpts<'a, FROM rust:1.77.2-slim - RUN apt-get update && apt-get install -y protobuf-compiler pkg-config libssl-dev g++ + RUN apt-get update && apt-get install -y protobuf-compiler pkg-config libssl-dev g++ git RUN apt-get install --yes libpq-dev wget RUN wget https://github.com/mozilla/sccache/releases/download/v0.2.15/sccache-v0.2.15-x86_64-unknown-linux-musl.tar.gz \