Skip to content

Commit 2c13080

Browse files
committed
Update mbedtls to 4.0.0
Signed-off-by: DL6ER <[email protected]>
1 parent 7be6106 commit 2c13080

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

ftl-build/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARG TARGETPLATFORM
44
ARG readlineversion=8.3
55
ARG termcapversion=1.3.1
66
ARG nettleversion=3.10.2
7-
ARG mbedtlsversion=3.6.4
7+
ARG mbedtlsversion=4.0.0
88

99
RUN apk add --no-cache \
1010
alpine-sdk \
@@ -85,7 +85,9 @@ RUN curl -sSL https://ftl.pi-hole.net/libraries/mbedtls-${mbedtlsversion}.tar.bz
8585
&& echo "BUILDING WITHOUT AESNI SUPPORT" \
8686
&& sed -i '/#define MBEDTLS_AESNI_C/s*^*//*g' include/mbedtls/mbedtls_config.h \
8787
|| echo "BUILDING WITH AESNI SUPPORT" ) \
88-
&& make -j $(nproc) install \
88+
&& cmake -S . -B build \
89+
&& cmake --build build -j $(nproc) \
90+
&& cmake --install build \
8991
&& cd .. \
9092
&& rm -r mbedtls-${mbedtlsversion}
9193

0 commit comments

Comments
 (0)