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:
commit
a2390311b4
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user