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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

-- 
Andrea Bolognani / Red Hat / Virtualization




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux