firefox-buildpack

by buitron

GitHub Readme.md

Heroku buildpack: Firefox

This is a Heroku buildpack for Firefox. Meant to be used in combination with something like xvfb, for headless operation.

Usage

Example usage:

$ heroku create [appname] --buildpack http://github.com/buitron/firefox-buildpack

# or if your app is already created:
$ heroku buildpacks:add http://github.com/buitron/firefox-buildpack

$ git push heroku master

Configuring the downloaded version of Firefox

By default, this buildback will download the latest release which is provided by Firefox.

You can control the specific version by setting the FIREFOX_VERSION variable to an explicit version e.g. 63.0.

Note

If you're using heroku-buildpack-multi to include other buildpacks, you should set environment variable by your own to include following paths.

PATH="/usr/local/bin:/usr/bin:/bin:/app/vendor/firefox"
LD_LIBRARY_PATH="/usr/local/lib:/usr/lib:/lib:/app/vendor/firefox"