mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
@@ -13,6 +13,15 @@ ENV GIT_TAG=${GIT_TAG}
|
||||
ARG BUILD_OPTS=""
|
||||
ENV BUILD_OPTS=${BUILD_OPTS}
|
||||
|
||||
# Add ncurses used for pretty output in bats tests
|
||||
RUN apk add --no-cache ncurses
|
||||
ENV TERM=xterm
|
||||
|
||||
# Monkeypatch BATS to remove duplicate output of starting and finished test
|
||||
# BATS uses ANSI escape codes to overwrite the line after the test has finished
|
||||
# This is not supported by Github Actions as it does not provide a TTY to the docker build container
|
||||
RUN sed -i '/buffer_with_truncation /d' /bats-core/libexec/bats-core/bats-format-pretty
|
||||
|
||||
# Build FTL
|
||||
# Remove possible old build files
|
||||
RUN rm -rf cmake && \
|
||||
|
||||
Reference in New Issue
Block a user