2020-10-14 20:14:45 -04:00
:mechanical_arm: Static curl :mechanical_arm:
2019-12-05 20:34:50 -05:00
-----------
[![Travis-CI Build Status ](https://api.travis-ci.org/moparisthebest/static-curl.svg?branch=master )](https://travis-ci.org/moparisthebest/static-curl)
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
2020-10-14 19:54:40 -04:00
Grab the latest release (curl 7.73.0) from one of these links, by CPU architecture:
- [curl-amd64 ](https://github.com/moparisthebest/static-curl/releases/download/v7.73.0/curl-amd64 )
- [curl-i386 ](https://github.com/moparisthebest/static-curl/releases/download/v7.73.0/curl-i386 )
- [curl-aarch64 ](https://github.com/moparisthebest/static-curl/releases/download/v7.73.0/curl-aarch64 )
- [curl-armv7 ](https://github.com/moparisthebest/static-curl/releases/download/v7.73.0/curl-armv7 )
- [curl-ppc64le ](https://github.com/moparisthebest/static-curl/releases/download/v7.73.0/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
- [docker_build.sh ](docker_build.sh ) - runs build.sh inside docker
- [mykey.asc ](mykey.asc ) - Daniel Stenberg's [GPG key ](https://daniel.haxx.se/address.html ) used for signing/verifying curl releases