Tools to build a custom nginx package with image processing tools built in.
The output of this tool has these differences to the stable nginx.org package:
- ngx_http_image_filter support
- ngx_small_light support
Copy an appropriate release locally, and install it
with dpkg -i <filename>
.
Prerequisites:
- Vagrant 1.5 (for basebox autoloading)
vagrant-librarian-puppet
(which can be installed by runningvagrant plugin install vagrant-librarian-puppet
, and requires Puppet, which can be installed withbundle install
)
To build the nginx package:
vagrant up # Create the VM
vagrant ssh -c "cd /vagrant && make" # Log in to the VM and build the package
After this is complete, the build
directory will contain two nginx
.deb
files, one with debug enabled and one without (indicated in the
name). We release/deploy the latter of the two, currently by manually
creating a GitHub release.