-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
components first pass - deprecate stacks, add targets
Signed-off-by: Joe Kimmel <[email protected]>
- Loading branch information
1 parent
109cf29
commit 59a5fa3
Showing
2 changed files
with
68 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
+++ | ||
title="Targets" | ||
weight=4 | ||
aliases=[ | ||
"/docs/using-pack/targets/" | ||
] | ||
+++ | ||
|
||
## What is a Target? | ||
|
||
A target is the essential information about an operating system and architecture necessary to ensure that binaries will be placed in environments where they can execute successfully. | ||
A buildpack may specify one or several targets. A build image or run image must specific one target. | ||
|
||
|
||
For full documentation see the (RFC where targets are introduced)[https://github.com/buildpacks/rfcs/blob/main/text/0096-remove-stacks-mixins.md]. | ||
|
||
### Example | ||
``` | ||
[[targets]] | ||
os = "linux" | ||
arch = "amd64" | ||
[[targets.distributions]] | ||
name = "ubuntu" | ||
versions = ["18.04", "20.04"] | ||
``` | ||
|