mirror of
https://github.com/Noratrieb/widetom.git
synced 2026-01-14 08:55:02 +01:00
Remove sparse registry flag
This commit is contained in:
parent
eb49ba2837
commit
33d1738799
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue