From 8dfe6805d1bbfc0dac16bade360c2545d0519852 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Fri, 1 Sep 2023 13:47:08 -0400 Subject: [PATCH] 20612: Set DEBIAN_FRONTEND=noninteractive for container build. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- lib/diagnostics/cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/diagnostics/cmd.go b/lib/diagnostics/cmd.go index aade1086fc..1e3c42a08b 100644 --- a/lib/diagnostics/cmd.go +++ b/lib/diagnostics/cmd.go @@ -481,7 +481,7 @@ func (diag *diagnoser) runtests() { } dockerfile := "FROM " + diag.dockerImageFrom + "\n" - dockerfile += "RUN apt-get update && apt-get install --yes --no-install-recommends libfuse2 ca-certificates && apt-get clean\n" + dockerfile += "RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends libfuse2 ca-certificates && apt-get clean\n" dockerfile += "COPY /arvados-client /arvados-client\n" cmd := exec.Command("docker", "build", "--tag", tag, "-f", "-", tempdir) cmd.Stdin = strings.NewReader(dockerfile) -- 2.30.2