Skip to content

Commit b0a478c

Browse files
committed
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 <[email protected]>
1 parent 648dbba commit b0a478c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ftl-build/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ ARG CI_ARCH="$TARGETPLATFORM"
112112
ARG GIT_TAG="test-build"
113113
ARG GIT_BRANCH="special/CI_development"
114114

115+
# Ensure that the TERM environment variable is set
116+
ENV TERM=${TERM:-xterm}
117+
115118
# Test compile FTL's development branch, the result is removed from the final container
116119
# Run the full test suite to ensure that the container is still capable of running the tests
117120
RUN git clone https://github.com/pi-hole/FTL.git --branch "${GIT_BRANCH}" \

0 commit comments

Comments
 (0)