[libvirt-ci PATCH] containers: add a standard container for running cargo fmt

Andrea Bolognani abologna at redhat.com
Wed May 13 13:36:25 UTC 2020


On Wed, 2020-05-13 at 11:32 +0100, Daniel P. Berrangé wrote:
> +++ b/containers/cargo-fmt/Dockerfile
> @@ -0,0 +1,11 @@
> +FROM rust:1.43
> +
> +RUN export DEBIAN_FRONTEND=noninteractive && \
> +    apt-get update && \
> +    apt-get install --no-install-recommends -y \
> +            diffstat && \
> +    apt-get autoclean -y
> +
> +RUN rustup component add rustfmt

Can you add the rustup invocation to the previous RUN statement
so that we end up with one fewer layer?

Either way,

  Reviewed-by: Andrea Bolognani <abologna at redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list