Skip to content

Commit a5802a9

Browse files
committed
Make cargo registry writable
1 parent fdae5bc commit a5802a9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Containerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,8 @@ 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+
chmod -R a+w /usr/local/cargo/registry/
84+
8285
RUN dnf clean all
8386
RUN rm -rf /var/cache/dnf /var/log/dnf*

0 commit comments

Comments
 (0)