From b0a478cd5cf490e61fdcde3b332685e68ea47afd Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 9 Dec 2024 10:54:49 +0100 Subject: [PATCH] Ensure that the TERM environment variable is set. Otherwise, the tests will fail with tput: No value for $TERM and no -T specified Signed-off-by: DL6ER --- ftl-build/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ftl-build/Dockerfile b/ftl-build/Dockerfile index 4d8f7c5..d046832 100644 --- a/ftl-build/Dockerfile +++ b/ftl-build/Dockerfile @@ -112,6 +112,9 @@ ARG CI_ARCH="$TARGETPLATFORM" ARG GIT_TAG="test-build" ARG GIT_BRANCH="special/CI_development" +# Ensure that the TERM environment variable is set +ENV TERM=${TERM:-xterm} + # Test compile FTL's development branch, the result is removed from the final container # Run the full test suite to ensure that the container is still capable of running the tests RUN git clone https://github.com/pi-hole/FTL.git --branch "${GIT_BRANCH}" \