1
0
mirror of https://github.com/containers/youki synced 2024-11-22 17:02:00 +01:00

Merge pull request #2845 from musaprg/install-nightly-for-linter-in-devcontainer

Install nightly for running linter inside devcontainer
This commit is contained in:
Yashodhan 2024-07-09 12:07:47 +05:30 committed by GitHub
commit a2390311b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -34,6 +34,8 @@ COPY <<EOF /etc/docker/daemon.json
EOF
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
# nightly build is required for `cargo fmt` as `rustfmt.toml` uses unstable features.
RUN rustup install nightly
RUN rustup component add rustfmt
RUN rustup component add clippy