mirror of
https://github.com/containers/youki
synced 2024-11-26 06:08:07 +01:00
Install nightly for running linter inside devcontainer
Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
This commit is contained in:
parent
aaa1590b56
commit
61d1535024
@ -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