Skip to content

Commit 71761f6

Browse files
committed
Make cargo registry writable
1 parent fdae5bc commit 71761f6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Containerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,9 @@ ARG RUST_ANALYZER_VERSION=2025-08-04
7979
RUN curl -L https://github.com/rust-lang/rust-analyzer/releases/download/$RUST_ANALYZER_VERSION/rust-analyzer-x86_64-unknown-linux-gnu.gz | gunzip -c - > /usr/local/bin/rust-analyzer && \
8080
chmod +x /usr/local/bin/rust-analyzer
8181

82+
RUN rm -fr /usr/local/cargo/registry/ && \
83+
mkdir -p /usr/local/cargo/registry/ && \
84+
chmod -R a+w /usr/local/cargo/registry/
85+
8286
RUN dnf clean all
8387
RUN rm -rf /var/cache/dnf /var/log/dnf*

0 commit comments

Comments
 (0)