Skip to content

Commit

Permalink
Ensure that the TERM environment variable is set. Otherwise, the test…
Browse files Browse the repository at this point in the history
…s will fail with

tput: No value for $TERM and no -T specified

Signed-off-by: DL6ER <[email protected]>
  • Loading branch information
DL6ER committed Dec 9, 2024
1 parent 648dbba commit b0a478c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ftl-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}" \
Expand Down

0 comments on commit b0a478c

Please sign in to comment.