docker build --target dashstatic --output type=local,dest=./dashstatic .To install - simple extract it.
tar -C /usr/local -xvf curl.tgzBuilds curl like so:
curl -V
# curl 8.21.0 (x86_64-pc-linux-musl) libcurl/8.21.0 OpenSSL/3.6.2 zlib/1.3.2 brotli/1.2.0 zstd/1.5.7 libidn2/2.3.8 libpsl/0.21.5 libssh2/1.11.1 nghttp2/1.69.0 ngtcp2/1.23.0 nghttp3/1.16.0 mit-krb5/1.22.2 OpenLDAP/2.6.13
# Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt mqtts pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss
# Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTP3 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NativeCA NTLM proxy-HTTP3 PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd