-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate suggested builders from default trusted builders
Signed-off-by: Colin Casey <[email protected]>
- Loading branch information
1 parent
e3f8bc2
commit 1b68d12
Showing
6 changed files
with
44 additions
and
20 deletions.
There are no files selected for viewing
20 changes: 18 additions & 2 deletions
20
internal/builder/suggested_builder.go → internal/builder/known_builder.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,61 @@ | ||
package builder | ||
|
||
type SuggestedBuilder struct { | ||
type KnownBuilder struct { | ||
Vendor string | ||
Image string | ||
DefaultDescription string | ||
Suggested bool | ||
Trusted bool | ||
} | ||
|
||
var SuggestedBuilders = []SuggestedBuilder{ | ||
var KnownBuilders = []KnownBuilder{ | ||
{ | ||
Vendor: "Google", | ||
Image: "gcr.io/buildpacks/builder:v1", | ||
DefaultDescription: "GCP Builder for all runtimes", | ||
Suggested: true, | ||
Trusted: true, | ||
}, | ||
{ | ||
Vendor: "Heroku", | ||
Image: "heroku/builder:22", | ||
DefaultDescription: "Heroku-22 (Ubuntu 22.04) base image with buildpacks for Go, Java, Node.js, PHP, Python, Ruby & Scala", | ||
Suggested: true, | ||
Trusted: true, | ||
}, | ||
{ | ||
Vendor: "Heroku", | ||
Image: "heroku/builder:20", | ||
DefaultDescription: "Heroku-20 (Ubuntu 20.04) base image with buildpacks for Go, Java, Node.js, PHP, Python, Ruby & Scala", | ||
Suggested: true, | ||
Trusted: true, | ||
}, | ||
{ | ||
Vendor: "Paketo Buildpacks", | ||
Image: "paketobuildpacks/builder-jammy-base", | ||
DefaultDescription: "Small base image with buildpacks for Java, Node.js, Golang, .NET Core, Python & Ruby", | ||
Suggested: true, | ||
Trusted: true, | ||
}, | ||
{ | ||
Vendor: "Paketo Buildpacks", | ||
Image: "paketobuildpacks/builder-jammy-full", | ||
DefaultDescription: "Larger base image with buildpacks for Java, Node.js, Golang, .NET Core, Python, Ruby, & PHP", | ||
Suggested: true, | ||
Trusted: true, | ||
}, | ||
{ | ||
Vendor: "Paketo Buildpacks", | ||
Image: "paketobuildpacks/builder-jammy-tiny", | ||
DefaultDescription: "Tiny base image (jammy build image, distroless run image) with buildpacks for Golang & Java", | ||
Suggested: true, | ||
Trusted: true, | ||
}, | ||
{ | ||
Vendor: "Paketo Buildpacks", | ||
Image: "paketobuildpacks/builder-jammy-buildpackless-static", | ||
DefaultDescription: "Static base image (jammy build image, distroless run image) suitable for static binaries like Go or Rust", | ||
Suggested: true, | ||
Trusted: true, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters