Skip to content

Commit

Permalink
fixing some format with the formulas
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Bustamante <jbustamante@vmware.com>
  • Loading branch information
jjbustamante committed Nov 24, 2023
1 parent 7d7be14 commit 40e16aa
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion text/0000-multiarch-builders-and-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,14 @@ With our previous example, it means

$$ ShareLayers(A) = \{\text{LICENSE},\text{NOTICE},\text{README.md},\text{buildpack.toml},\text{resources/config.properties}\} $$

$$ PlatformLayers(A,text\{linux,amd64\}) = \{\text{bin/build},\text{bin/detect},\text{bin/foo}\} $$
$$ PlatformLayers(A,\text{linux,amd64}) = \{\text{bin/build},\text{bin/detect},\text{bin/foo}\} $$

$$ PlatformLayers(A,\text{linux,arm64}) = \{\text{bin/build},\text{bin/detect},\text{bin/bar}\} $$

$$ BuildpackPackageLayers(A,\text{linux,amd64}) = \{\text{LICENSE},\text{NOTICE},\text{README.md},\text{buildpack.toml},\text{resources/config.properties}\} + \{\text{bin/build},\text{bin/detect},\text{bin/foo}\} $$

$$ BuildpackPackageLayers(A,\text{linux,arm64}) = \{\text{LICENSE},\text{NOTICE},\text{README.md},\text{buildpack.toml},\text{resources/config.properties}\} + \{\text{bin/build},\text{bin/detect},\text{bin/bar}\} $$


This means the shared layer can be reused in each intermediate image and improve the performance when it contains big files

Expand Down

0 comments on commit 40e16aa

Please sign in to comment.