Dockerfile : fixed unknown -lubsan flag

This commit is contained in:
saundersp
2025-08-30 10:22:43 +02:00
parent 69a0bed64e
commit df6bf95eb9

View File

@@ -14,7 +14,9 @@ WORKDIR /home/saundersp/sorting_algorithms
COPY *.cpp *.hpp Makefile ./
RUN make -j "$(nproc)"
# Remove unusable flag
RUN sed -i 's/ -fsanitize=undefined//' Makefile \
&& make -j "$(nproc)"
FROM alpine:3.22.1