Skip to content

Commit

Permalink
Add .NET buildpack (#571)
Browse files Browse the repository at this point in the history
  • Loading branch information
runesoerensen authored Aug 29, 2024
1 parent f244fcf commit c5306c7
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,16 @@ jobs:
strategy:
fail-fast: false
matrix:
language: ["go", "gradle", "java", "node-js", "php", "python", "ruby", "scala"]
language: ["dotnet", "go", "gradle", "java", "node-js", "php", "python", "ruby", "scala"]
builder: ["builder-20", "builder-22", "builder-24"]
arch: ["amd64", "arm64"]
exclude:
- builder: builder-20
arch: arm64
- builder: builder-22
arch: arm64
- builder: builder-20
language: dotnet

steps:
- name: Checkout getting started guide
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ in each base image, see [this Dev Center article](https://devcenter.heroku.com/a
| [heroku/builder:24][builder-tags] | Ubuntu 24.04 | AMD64 + ARM64 | [heroku/heroku:24][heroku-tags] | 0.20.1 | Recommended |

The builder images above include buildpack support for the following languages: Go, Java, Node.js, PHP, Python, Ruby & Scala.
Additionally, `heroku/builder:22` and `heroku/builder:24` includes buildpack support for .NET applications.

Check the [lifecycle API version support matrix](https://github.com/buildpacks/lifecycle#supported-apis) to determine
which Platform and Buildpack API versions are compatible with the `lifecycle` version included in each builder.
Expand Down Expand Up @@ -52,6 +53,7 @@ pack config default-builder heroku/builder:24

For language/buildpack-specific bugs or feature requests, file an issue against the appropriate buildpack repository:

- https://github.com/heroku/buildpacks-dotnet
- https://github.com/heroku/buildpacks-go
- https://github.com/heroku/buildpacks-jvm
- https://github.com/heroku/buildpacks-nodejs
Expand Down
15 changes: 14 additions & 1 deletion builder-22/builder.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
description = "Ubuntu 22.04 AMD64 base image with buildpacks for Go, Java, Node.js, PHP, Python, Ruby & Scala."
description = "Ubuntu 22.04 AMD64 base image with buildpacks for .NET, Go, Java, Node.js, PHP, Python, Ruby & Scala."

[stack]
id = "heroku-22"
Expand All @@ -17,6 +17,10 @@ mirrors = ["public.ecr.aws/heroku/heroku:22-cnb"]
[lifecycle]
version = "0.20.1"

[[buildpacks]]
id = "heroku/dotnet"
uri = "docker://docker.io/heroku/buildpack-dotnet@sha256:0ff6cbece898f615c70e129058f8ef88c94fea8ed2f5cf210606ce5ed924d171"

[[buildpacks]]
id = "heroku/go"
uri = "docker://docker.io/heroku/buildpack-go@sha256:69ccc6af465bcb3f7a131f3f15ebc975c73f17e33d4216162bd6a52811f7e114"
Expand Down Expand Up @@ -123,3 +127,12 @@ version = "0.20.1"
id = "heroku/procfile"
version = "3.1.2"
optional = true

[[order]]
[[order.group]]
id = "heroku/dotnet"
version = "0.1.2"
[[order.group]]
id = "heroku/procfile"
version = "3.1.2"
optional = true
15 changes: 14 additions & 1 deletion builder-24/builder.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
description = "Ubuntu 24.04 AMD64+ARM64 base image with buildpacks for Go, Java, Node.js, PHP, Python, Ruby & Scala."
description = "Ubuntu 24.04 AMD64+ARM64 base image with buildpacks for .NET, Go, Java, Node.js, PHP, Python, Ruby & Scala."

[stack]
id = "heroku-24"
Expand All @@ -17,6 +17,10 @@ image = "docker.io/heroku/heroku:24-build"
image = "docker.io/heroku/heroku:24"
mirrors = ["public.ecr.aws/heroku/heroku:24"]

[[buildpacks]]
id = "heroku/dotnet"
uri = "docker://docker.io/heroku/buildpack-dotnet@sha256:0ff6cbece898f615c70e129058f8ef88c94fea8ed2f5cf210606ce5ed924d171"

[[buildpacks]]
id = "heroku/go"
uri = "docker://docker.io/heroku/buildpack-go@sha256:69ccc6af465bcb3f7a131f3f15ebc975c73f17e33d4216162bd6a52811f7e114"
Expand Down Expand Up @@ -123,3 +127,12 @@ mirrors = ["public.ecr.aws/heroku/heroku:24"]
id = "heroku/procfile"
version = "3.1.2"
optional = true

[[order]]
[[order.group]]
id = "heroku/dotnet"
version = "0.1.2"
[[order.group]]
id = "heroku/procfile"
version = "3.1.2"
optional = true

0 comments on commit c5306c7

Please sign in to comment.