From f710d89fcb7a26dbc5687b08fa3abf3ec951b757 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Tue, 10 Oct 2023 19:20:22 +0200 Subject: [PATCH] Add libbacktrace into ftl-build container Signed-off-by: DL6ER --- ftl-build/alpine/Dockerfile | 8 ++++++++ ftl-build/debian/Dockerfile | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/ftl-build/alpine/Dockerfile b/ftl-build/alpine/Dockerfile index a4917b5..ec876c6 100644 --- a/ftl-build/alpine/Dockerfile +++ b/ftl-build/alpine/Dockerfile @@ -82,6 +82,14 @@ RUN curl -sSL https://ftl.pi-hole.net/libraries/mbedtls-${mbedtlsversion}.tar.gz && cd .. \ && rm -r mbedtls-${mbedtlsversion} +# Build static libbacktrace +RUN git clone https://github.com/ianlancetaylor/libbacktrace.git \ + && cd libbacktrace \ + && ./configure --enable-static --disable-shared \ + && make -j $(nproc) install \ + && cd .. \ + && rm -r libbacktrace + # Install bats-core directly into the build image RUN git clone https://github.com/bats-core/bats-core.git diff --git a/ftl-build/debian/Dockerfile b/ftl-build/debian/Dockerfile index 3129420..9a7e470 100644 --- a/ftl-build/debian/Dockerfile +++ b/ftl-build/debian/Dockerfile @@ -87,6 +87,14 @@ RUN curl -sSL https://ftl.pi-hole.net/libraries/mbedtls-${mbedtlsversion}.tar.gz && cd .. \ && rm -rf mbedtls-${mbedtlsversion} +# Build static libbacktrace +RUN git clone https://github.com/ianlancetaylor/libbacktrace.git \ + && cd libbacktrace \ + && ./configure --enable-static --disable-shared \ + && make -j $(nproc) install \ + && cd .. \ + && rm -r libbacktrace + # Install bats-core directly into the build image RUN git clone https://github.com/bats-core/bats-core.git