fix: curl: (48) An unknown option was passed in to libcurl
ToC
When using an alpine image as the base, RUN curl failed and the following error was output.
1 | curl: (48) An unknown option was passed in to libcurl |
The cause was a version mismatch between curl and libcurl,
and it was resolved by installing curl-dev.
Dockerfile
1 | FROM alpine |
That’s all.
I hope this helps.
fix: curl: (48) An unknown option was passed in to libcurl
https://kenzo0107.github.io/en/2023/04/14/curl-not-match-libcurl-on-alpine/