Remove sparse registry flag

This commit is contained in:
nora 2024-07-06 15:37:22 +02:00
parent eb49ba2837
commit 33d1738799

View file

@ -12,13 +12,13 @@ COPY Cargo.toml Cargo.lock ./
RUN mkdir src RUN mkdir src
RUN echo "fn main() {}" > src/main.rs 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 COPY src ./src
# now rebuild with the proper main # now rebuild with the proper main
RUN touch src/main.rs 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 ### RUN
FROM scratch FROM scratch