Skip to content

Commit 3dbe584

Browse files
committed
Highlight that directory prefixing to control order isn't possible for some binaries
Signed-off-by: Schneems <richard.schneeman+foo@gmail.com>
1 parent 04c8e71 commit 3dbe584

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

text/0133-explicit-layer-order.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,17 @@ The "inside of the same buildpack" relies on the order of buildpack execution to
4444
- Today a single buildpack can write multiple layers.
4545
- For launch or the next buildpack in build, each layer is evaluated in alphabetic order via the spec.
4646
- This order can differ from the order that layers were written by the buildpack which is surprising and can result in difficult to debug problem.
47-
- We should introduce a mechanism that allows buildpack authors to ensure that build, launch, and "inside of the same buildpack" have the same order of environment variable modification.
47+
- The current ordering mechanism requires prefixing a directory to change order. Some binaries cannot be relocated without being rebuilt.
48+
- We should introduce a mechanism that allows buildpack authors to ensure that build, launch, and "inside of the same buildpack" have the same order of environment variable modification. This mechanism should allow non-relocatable binaries to be re-ordered.
4849

4950
> - Why should we do this?
5051
51-
To improve the correctness and reliability of buildpacks
52+
To improve the correctness and reliability of buildpacks.
5253

5354
> - What use cases does it support?
5455
56+
- Re-ordering layers without having to move files on disk.
57+
5558
> - What is the expected outcome?
5659
5760
Buildpack ordering will be more consistent for those that use this feature. The behavior will be less surprising to buildpack authors and users. Less time will be spent creatively renaming layers to achieve the desired ordering.

0 commit comments

Comments
 (0)