static-curl/README.md

23 lines
1.7 KiB
Markdown
Raw Permalink Normal View History

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
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
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)
- [curl-ppc64le](https://github.com/moparisthebest/static-curl/releases/latest/download/curl-ppc64le)
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