flachglasschweiz / docker-alpine-gitftp

Dockerfile to build a lightweight Alpine Linux image including the newest git-ftp version
MIT License
4 stars 2 forks source link

Protocol 'sftp' not supported by curl #4

Open Orclyx opened 3 years ago

Orclyx commented 3 years ago

Thanks for this image, it's been very useful. Unfortunately we've started getting the following error since Friday, when it looks like the image was last updated:

...
Mon Mar 22 10:42:24 UTC 2021: Check if curl is functional.
Mon Mar 22 10:42:24 UTC 2021: fatal: Protocol 'sftp' not supported by curl, exiting...
Aevis commented 3 years ago

It seems that alpine >= 3.10 doesn't install the libssh2 library together with curl anymore. I provided a quick fix with a9c5e4a by pinning the alpine image to 3.9.

I'll check why they dropped the library.

Orclyx commented 3 years ago

@Aevis The fix is much appreciated, cheers