fix incorrect cache files removal
This commit is contained in:
@@ -24,7 +24,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
|||||||
cp -R /usr/local/cargo/git /cargo-cache/
|
cp -R /usr/local/cargo/git /cargo-cache/
|
||||||
|
|
||||||
# Ensure the content of /cargo-cache && clean unnecessary files
|
# Ensure the content of /cargo-cache && clean unnecessary files
|
||||||
RUN ls -la /cargo-cache/registry && ls -la /cargo-cache/git && rm -rfd /cargo-cache/registry/cache
|
RUN ls -la /cargo-cache/registry && ls -la /cargo-cache/git && rm -rfd /cargo-cache/registry/src
|
||||||
|
|
||||||
# Main build stage
|
# Main build stage
|
||||||
FROM rust:1.80-slim AS builder
|
FROM rust:1.80-slim AS builder
|
||||||
|
|||||||
Reference in New Issue
Block a user