Skip to content

Commit 5972a52

Browse files
committed
Don't cache cargo registry for now
1 parent 7e639f4 commit 5972a52

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ COPY . /app
99
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
1010
ENV RUSTFLAGS="-C link-arg=-fuse-ld=mold"
1111

12-
RUN --mount=type=cache,target=/usr/local/cargo/registry \
13-
--mount=type=cache,target=/usr/local/cargo/git \
14-
cargo build --release
12+
RUN cargo build --release
1513

1614
FROM docker.io/library/debian:trixie-slim
1715

0 commit comments

Comments
 (0)