From 11e1eda98b7b0850b92237825234a71525e61e41 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Thu, 3 Dec 2020 20:37:18 +0100 Subject: [PATCH] build: install diffutils in test container image Depending on the local changes, running 'make containerized-test' fails with an error like: level=error msg="Running error: gofmt: error computing diff: exec: \"diff\": executable file not found in $PATH" Installing the diffutils package makes sure 'go fmt' finds the executable. Signed-off-by: Niels de Vos --- scripts/Dockerfile.test | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/Dockerfile.test b/scripts/Dockerfile.test index db3c8470f..e1bc3dad7 100644 --- a/scripts/Dockerfile.test +++ b/scripts/Dockerfile.test @@ -31,6 +31,7 @@ RUN source /build.env \ ShellCheck \ yamllint \ npm \ + diffutils \ python3-prettytable \ pylint \ && dnf -y update \