We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7be6106 + 7ae6fa5 commit 3794cf0Copy full SHA for 3794cf0
1 file changed
ftl-build/Dockerfile
@@ -4,7 +4,7 @@ ARG TARGETPLATFORM
4
ARG readlineversion=8.3
5
ARG termcapversion=1.3.1
6
ARG nettleversion=3.10.2
7
-ARG mbedtlsversion=3.6.4
+ARG mbedtlsversion=4.0.0
8
9
RUN apk add --no-cache \
10
alpine-sdk \
@@ -85,7 +85,9 @@ RUN curl -sSL https://ftl.pi-hole.net/libraries/mbedtls-${mbedtlsversion}.tar.bz
85
&& echo "BUILDING WITHOUT AESNI SUPPORT" \
86
&& sed -i '/#define MBEDTLS_AESNI_C/s*^*//*g' include/mbedtls/mbedtls_config.h \
87
|| echo "BUILDING WITH AESNI SUPPORT" ) \
88
- && make -j $(nproc) install \
+ && cmake -S . -B build -DCMAKE_C_FLAGS="-fomit-frame-pointer" \
89
+ && cmake --build build -j $(nproc) \
90
+ && cmake --install build \
91
&& cd .. \
92
&& rm -r mbedtls-${mbedtlsversion}
93
0 commit comments