From 33d1738799618d72fe2b86896f766cbfea58dc76 Mon Sep 17 00:00:00 2001 From: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> Date: Sat, 6 Jul 2024 15:37:22 +0200 Subject: [PATCH] Remove sparse registry flag --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 168da4e..d9f055a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,13 +12,13 @@ COPY Cargo.toml Cargo.lock ./ RUN mkdir src RUN echo "fn main() {}" > src/main.rs -RUN cargo build --release -Zsparse-registry --target x86_64-unknown-linux-musl +RUN cargo build --release --target x86_64-unknown-linux-musl COPY src ./src # now rebuild with the proper main RUN touch src/main.rs -RUN cargo build --release -Zsparse-registry --target x86_64-unknown-linux-musl +RUN cargo build --release --target x86_64-unknown-linux-musl ### RUN FROM scratch