Closed pluralistix closed 1 year ago
Installing curl-dev
resolves this for us, but it's an extra package we'd rather not have to include.
curl-dev is installed anyway ;)
❯ docker run --entrypoint sh alpine/git:latest -c 'apk search libcurl; apk update >/dev/null 2>&1 && apk upgrade >/dev/null 2>&1; apk search libcurl'
libcurl-7.83.1-r4
curl-dev-7.83.1-r4
libcurl-8.0.1-r0
curl-dev-8.0.1-r0
For us the problem is, that we use an image, wich is based on alpine/git:latest
as github-action. So we do not really have control...
We're using it in a Gitlab pipeline, and doing apk add curl-dev
as a before_script:
step makes it work - not sure if you can do the same in a github pre script ?
The CI pipeline has been switched from Travis to Circle CI. The latest release has been pushed. Please inform me if you still encounter the issue or not
$ docker run --entrypoint sh alpine/git:latest -c 'apk add --no-cache curl;curl -V; curl https://www.google.com' | grep -E "^(fetch|curl|WARNING)"
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
curl 8.1.2 (x86_64-alpine-linux-musl) libcurl/8.1.2 OpenSSL/3.1.0 zlib/1.2.13 brotli/1.0.9 libidn2/2.3.4 nghttp2/1.53.0
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 17158 0 17158 0 0 42817 0 --:--:-- --:--:-- --:--:-- 42788
Thank you!
Hey,
presumably because of https://github.com/alpine-docker/git/issues/58 , e.g. curl does not work anymore
Is there anyone working on https://github.com/alpine-docker/git/issues/58 ?