This buildpack lets .NET Core applications run on the Linux stacks.
Ruby C# Shell JavaScript CSS HTML F#
Latest commit b01e39a Aug 7, 2017 @cf-buildpacks-eng cf-buildpacks-eng committed on GitHub Merge develop into master
Permalink
Failed to load latest commit information.
.bundle Split supply and finalize Jul 28, 2017
bin Split supply and finalize Jul 28, 2017
cf_spec Split supply and finalize Jul 28, 2017
compile-extensions @ fcc9402 Update compile-extensions to fcc9402e68650653c96b84c27c2135d56ab7625e Jul 21, 2017
lib Split supply and finalize Jul 28, 2017
vendor/iniparse-1.4.2 Remove hidden files from vendored gem Nov 21, 2016
.envrc Split supply and finalize Jul 28, 2017
.gitignore Split supply and finalize Jul 28, 2017
.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 1.0.24 [#149787861] Aug 7, 2017
CONTRIBUTING.md Add note about tests to CONTRIBUTING.md Nov 9, 2016
Dockerfile.libunwind Add libunwind 1.2, remove libunwind 1.1 Jan 18, 2017
ISSUE_TEMPLATE Create ISSUE_TEMPLATE and PULL_REQUEST_TEMPLATE Dec 23, 2016
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
README.md Change Slack link to #buildpacks channel Jan 11, 2017
Rakefile Move unit specs to `cf_spec` directory Jul 25, 2016
VERSION Bump version to 1.0.24 [#149787861] Aug 7, 2017
cf.Gemfile Update machete to 0.0.71 Aug 2, 2017
cf.Gemfile.lock Update machete to 0.0.71 Aug 2, 2017
dotnet-sdk-tools.yml Add dotnet 1.1.0-preview1-005077 Jul 14, 2017
manifest.yml Add node 6.11.2, remove node 6.11.1 Aug 1, 2017

README.md

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:

Usage

cf push my_app -b https://github.com/cloudfoundry/dotnet-core-buildpack.git

Buildpack User Documentation

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

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 dotnet-core_buildpack-cached-custom.zip 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 --host=local.pcfdev.io

Contributing

Find our guidelines here.

Reporting Issues

Open an issue on this project.

Links