2020-10-14 20:14:45 -04:00
:mechanical_arm: Static curl :mechanical_arm:
2019-12-05 20:34:50 -05:00
-----------
2020-11-24 00:21:25 -05:00
[![Build Status ](https://ci.moparisthe.best/job/moparisthebest/job/static-curl/job/master/badge/icon%3Fstyle=plastic )](https://ci.moparisthe.best/job/moparisthebest/job/static-curl/job/master/)
2019-12-05 20:34:50 -05:00
2020-01-09 22:41:05 -05:00
These are a couple simple scripts to build a fully static curl binary using alpine linux docker containers. Currently it is a featureful build with OpenSSL, libssh2, nghttp2, and zlib, supporting most protocols. Tweak configure options in [build.sh ](build.sh#L50 ) if you need something else (and/or suggest or PR).
2019-12-05 20:34:50 -05:00
2021-07-21 21:44:07 -04:00
Grab the [latest release ](https://github.com/moparisthebest/static-curl/releases/latest ) from one of these links, by CPU architecture:
- [curl-amd64 ](https://github.com/moparisthebest/static-curl/releases/latest/download/curl-amd64 )
- [curl-i386 ](https://github.com/moparisthebest/static-curl/releases/latest/download/curl-i386 )
- [curl-aarch64 ](https://github.com/moparisthebest/static-curl/releases/latest/download/curl-aarch64 )
- [curl-armv7 ](https://github.com/moparisthebest/static-curl/releases/latest/download/curl-armv7 )
2022-03-05 11:28:09 -05:00
- [curl-armhf ](https://github.com/moparisthebest/static-curl/releases/latest/download/curl-armhf )
2021-07-21 21:44:07 -04:00
- [curl-ppc64le ](https://github.com/moparisthebest/static-curl/releases/latest/download/curl-ppc64le )
2020-01-09 22:41:05 -05:00
Static binaries for windows are provided directly by [curl ](https://curl.haxx.se/windows/ ) itself.
2019-12-05 20:34:50 -05:00
Development
-----------
File explanation:
- [build.sh ](build.sh ) - runs inside an alpine docker container, downloads curl, verifies it with gpg, and builds it
- [mykey.asc ](mykey.asc ) - Daniel Stenberg's [GPG key ](https://daniel.haxx.se/address.html ) used for signing/verifying curl releases