From 2a7a98f453b267d4bfef02cdeee1d0299c3e953d Mon Sep 17 00:00:00 2001 From: Edward Samson Date: Mon, 30 Oct 2023 16:45:35 +0800 Subject: [PATCH] Add ncurses to the Docker image This provides `tput` for the scalafmt post-update hook. Fixes #3120 --- build.sbt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 5107ea2ebb..84ab340258 100644 --- a/build.sbt +++ b/build.sbt @@ -370,7 +370,10 @@ lazy val dockerSettings = Def.settings( ).mkString(" && ") Seq( Cmd("USER", "root"), - Cmd("RUN", "apk --no-cache add bash git ca-certificates curl maven openssh nodejs npm"), + Cmd( + "RUN", + "apk --no-cache add bash git ca-certificates curl maven openssh nodejs npm ncurses" + ), Cmd("RUN", installSbt), Cmd("RUN", installMill), Cmd("RUN", installCoursier),