OpenResty plugin for asdf version manager
This requires brew if you're on a mac, or a debian flavored linux. If you need it to work on something else, you'll likely need to modify the plugin.
- You will need a compiler.
- Hit the ok button and it will install. If it already has it, then you are good.
sudo apt-get install linux-headers-$(uname -r) build-essential
- You will need openssl
brew install openssl
sudo apt-get install openssl libssl-dev
- You will need pcre
brew install pcre
sudo apt-get install libpcre3 libpcre3-dev
asdf plugin-add openresty https://github.com/smashedtoatoms/asdf-openresty.git
Check asdf readme for instructions on how to install & manage versions of OpenResty.
When installing OpenResty using
asdf install, you can pass custom configure options with the following env vars:
OPENRESTY_CONFIGURE_OPTIONS- use only your configure options
OPENRESTY_EXTRA_CONFIGURE_OPTIONS- append these configure options along with ones that this plugin already uses