Skip to content

Commit

Permalink
Merge pull request #83 from pi-hole/ftl-build/libbacktrace
Browse files Browse the repository at this point in the history
Add libbacktrace into ftl-build container
  • Loading branch information
DL6ER committed Oct 11, 2023
2 parents b671edc + f710d89 commit 7d18911
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ftl-build/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 8 additions & 0 deletions ftl-build/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7d18911

Please sign in to comment.