Skip to content

Instantly share code, notes, and snippets.

@leosamuele221
Last active March 26, 2024 00:36
Show Gist options
  • Save leosamuele221/aed36a3b9135032b6a8ffe7274e58ce7 to your computer and use it in GitHub Desktop.
Save leosamuele221/aed36a3b9135032b6a8ffe7274e58ce7 to your computer and use it in GitHub Desktop.
Automatic installer and builder for curl 8.6.0 in alpine 3.19 (includes dependecies for build)
#!/bin/bash
apk del curl &&
wget -q https://github.com/curl/curl/releases/download/curl-8_6_0/curl-8.6.0.tar.gz &&
tar -xf curl-8.6.0.tar.gz &&
cd curl-8.6.0 &&
apk add openssl-dev g++ make autoconf libpsl-dev &&
./configure --with-openssl &&
make && make install
@leosamuele221
Copy link
Author

One way to resolve curl/curl#12558 in Alpine 3.19 is to build curl 8.6.0 but some docker container resets every reboot.
So there's an easy script to download dependecies build and install curl 8.6.0 from source!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment