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(a)redhat.com>
--
Andrea Bolognani / Red Hat / Virtualization