This buildpack lets .NET Core applications run on the Linux stacks.
Ruby C# JavaScript CSS HTML F# Shell
Latest commit d10fc96 Apr 25, 2017 @dgodd dgodd committed with sesmith177 Bump version to $(cat VERSION) [#144168531]
Signed-off-by: Sam Smith <>
Failed to load latest commit information.
.bundle Move unit specs to `cf_spec` directory Jul 25, 2016
bin Use ASPNETCORE_URLS instead of command line arguments Mar 30, 2017
cf_spec Remove extra trailing comma Mar 30, 2017
compile-extensions @ fb2a1fc Update compile-extensions to fb2a1fc75472d5059f171188a00b20763b06c61a Apr 13, 2017
lib Fix rubocop warning Mar 31, 2017
vendor/iniparse-1.4.2 Remove hidden files from vendored gem Nov 21, 2016
.gitignore Have git ignoring of buildpack zip packages use new, correct buildpac… Jul 25, 2016
.gitmodules Initial buildpack May 15, 2015
.rspec Move unit specs to `cf_spec` directory Jul 25, 2016
.rubocop.yml Publish msbuild applications during staging Jan 17, 2017
.travis.yml Add ruby 2.3.1 to Travis test matrix Aug 19, 2016
CHANGELOG Bump version to $(cat VERSION) [#144168531] Apr 25, 2017 Add note about tests to Nov 9, 2016
Dockerfile.libunwind Add libunwind 1.2, remove libunwind 1.1 Jan 18, 2017
LICENSE Initial license file May 14, 2015
NOTICE Correct copyright NOTICE Dec 21, 2016
PULL_REQUEST_TEMPLATE Create ISSUE_TEMPLATE and PULL_REQUEST_TEMPLATE Dec 23, 2016 Change Slack link to #buildpacks channel Jan 11, 2017
Rakefile Move unit specs to `cf_spec` directory Jul 25, 2016
VERSION Bump version to $(cat VERSION) [#144168531] Apr 25, 2017
cf.Gemfile Update machete to 0.0.66 Apr 3, 2017
cf.Gemfile.lock Update machete to 0.0.66 Apr 3, 2017
dotnet-sdk-tools.yml Remove 1.0.0-preview4-004233 Apr 21, 2017
manifest.yml Remove 1.0.0-preview4-004233 Apr 21, 2017

Cloud Foundry buildpack: .NET Core

CF Slack Join us on Slack

A Cloud Foundry buildpack for .NET Core applications.

For more information about ASP.NET Core see:


cf push my_app -b

Buildpack User Documentation

Official buildpack documentation can be found at

Building the Buildpack

These steps only apply to admins who wish to install the buildpack into their Cloud Foundry deployment. They are meant to be run in a Linux shell and assume that git, Ruby, and the bundler gem are already installed.

  1. Make sure you have fetched submodules
git submodule update --init
  1. Get latest buildpack dependencies
BUNDLE_GEMFILE=cf.Gemfile bundle
  1. Build the binary dependencies (optional)

If you need to rebuild these, to change a version for example, see the included Dockerfiles. They contain comments specifying the commands to run. Then update manifest.yml to point to your files.

  1. Build the buildpack

uncached means the buildpack's binary dependencies will be downloaded the first time an application is staged, and cached means they will be packaged in the buildpack ZIP.

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_dotnet-core_buildpack 1
cf push my_app -b custom_dotnet-core_buildpack

Unit Testing

Having performed the steps from Building:

BUNDLE_GEMFILE=cf.Gemfile bundle exec rake spec

Integration Testing

Integration tests are run using Machete.

To run all the tests (unit and integration):

CF_PASSWORD=admin BUNDLE_GEMFILE=cf.Gemfile bundle exec buildpack-build


Find our guidelines here.

Reporting Issues

Open an issue on this project.