diff --git a/scripts/build.alpine.release.sh b/scripts/build.alpine.release.sh index 2dba424fe..2682ccb20 100644 --- a/scripts/build.alpine.release.sh +++ b/scripts/build.alpine.release.sh @@ -2,9 +2,15 @@ set -xe apk add gcc g++ build-base linux-headers cmake make autoconf automake libtool python2 python3 -apk add mbedtls-dev mbedtls-static zlib-dev rapidjson-dev zlib-static pcre2-dev +apk add zlib-dev rapidjson-dev zlib-static pcre2-dev -git clone https://github.com/curl/curl --depth=1 --branch curl-8_6_0 +git clone https://github.com/Mbed-TLS/mbedtls --depth=1 --branch v3.6.2 --recurse-submodules --shallow-submodules +cd mbedtls +cmake -DENABLE_TESTING=Off -DUSE_SHARED_MBEDTLS_LIBRARY=Off . +make install -j2 > /dev/null +cd .. + +git clone https://github.com/curl/curl --depth=1 --branch curl-8_11_1 cd curl cmake -DCURL_USE_MBEDTLS=ON -DHTTP_ONLY=ON -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_USE_LIBSSH2=OFF -DBUILD_CURL_EXE=OFF . > /dev/null make install -j2 > /dev/null