1
0
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:
Kotaro Inoue 2024-07-07 12:16:25 +09:00
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