Skip to content

adeiki/heroku-buildpack-curl-libssh2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Heroku buildpack: curl with sftp (libssh2) support

This is a Heroku buildpack that replaces the Ubuntu default curl and libcurl with a latest compiled version including ssl and libssh2 packages. Purpose for this addition is to enable using sftp with curl from PHP application via autheticating Proxy like QuotaGuard or Fixie.

Usage

See Heroku's documentation on multiple buildpacks.

Example usage for a PHP app:

$ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-php.git
$ heroku buildpacks:add https://github.com/frcade/heroku-buildpack-curl-libssh2.git --index 1
$ git push heroku master
...

You can verify the installation using the following command:

$ heroku run "curl --version"