Skip to content

alex-kaufman/heroku-buildpack-openresty

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 

Repository files navigation

This buildpack can either download precompiled binary hosted in this repository, or build from source.

It is preferable to build from the binary stored in this repo, because it is much faster, but if you want to recompile with different options, you can call build_from_source instead of build_from_binary.

Once you build from source, open up a one off dyno and create a tarball of the compiled binary's directory:

tar czf openresty_build-<open_resty version number>.tar.gz .heroku/

We then use scp to copy the tarball to our local machine, using ngrok.

ngrok tcp 22

then run in the one off dyno. scp -P <port ngrok returns> openresty_build-<open_resty version number> <local user>@0.tcp.ngrok.io:openresty_build-<open_resty version number>.tar.gz

After you do that, publish another release to this repo, and update the compile script to reference the link to the new tarball.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%