Remove git initialization on cargo new
This causes initialization to fail
@@ -59,19 +59,19 @@ COPY ./contracts/schema/Cargo.toml ./Cargo.toml
RUN cargo check
WORKDIR /
-RUN USER=root cargo new --bin daemon
+RUN USER=root cargo new --bin daemon --vcs none
WORKDIR /daemon
COPY ./daemon/Cargo.toml ./Cargo.toml
RUN cargo check
WORKDIR /
-RUN USER=root cargo new --bin cli
+RUN USER=root cargo new --bin cli --vcs none
WORKDIR /cli
COPY ./cli/Cargo.toml ./Cargo.toml
RUN cargo check
WORKDIR /
-RUN USER=root cargo new --bin contracts/track_and_trace
+RUN USER=root cargo new --bin contracts/track_and_trace --vcs none
WORKDIR /contracts/track_and_trace
COPY ./contracts/track_and_trace/Cargo.toml ./Cargo.toml
