alexjh / binary-buildpack

Deploy binaries to Cloud Foundry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cloud Foundry Binary Buildpack

CF Slack Join us on Slack

A Cloud Foundry buildpack for running arbitrary binary web servers.

Buildpack User Documentation

Official buildpack documentation can be found at http://docs.cloudfoundry.org/buildpacks/binary/index.html.

Building the Buildpack

  1. Get latest buildpack dependencies
BUNDLE_GEMFILE=cf.Gemfile bundle
  1. Build the buildpack
BUNDLE_GEMFILE=cf.Gemfile bundle exec buildpack-packager [ --uncached | --cached ]
  1. Use in Cloud Foundry

    Upload the buildpack to your Cloud Foundry and optionally specify it by name

    cf create-buildpack custom_binary_buildpack binary_buildpack-cached-custom.zip 1
    cf push my_app -b custom_binary_buildpack

Testing

Buildpacks use the Machete framework for running integration tests.

To test a buildpack, run the following command from the buildpack's directory:

BUNDLE_GEMFILE=cf.Gemfile bundle exec buildpack-build

More options can be found on Machete's Github page.

Contributing

Find our guidelines here.

Help and Support

Join the #buildpacks channel in our [Slack community] (http://slack.cloudfoundry.org/) if you need any further assistance.

Reporting Issues

Open a GitHub issue on this project here

Active Development

The project backlog is on Pivotal Tracker

About

Deploy binaries to Cloud Foundry

License:Apache License 2.0


Languages

Language:Ruby 72.2%Language:Shell 12.5%Language:PowerShell 11.6%Language:Batchfile 3.7%