Skip to content

Commit 8d05cb8

Browse files
authored
Changes from PR
1 parent f962d99 commit 8d05cb8

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

proposals/devcontainer-features.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ By default, features are installed in an order selected by the implementing tool
1010

1111
If any of the following properties are provided in the feature's `devcontainer-feature.json`, or the user's `devcontainer.json`, the order indicated by the propert(ies) are respected.
1212

13-
- `runsAfter` property defined as part of `devcontainer-feature.json`.
13+
- `installsAfter` property defined as part of `devcontainer-feature.json`.
1414
- `id`.
1515

1616
The tool uses the `runsAfter` property to intelligently manage this order and ensure that if there are relationships between the features, they are respected.
@@ -79,6 +79,8 @@ The properties of the file are as follows:
7979
| capAdd | array | Additional capabilities needed by the feature. |
8080
| securityOpt | array | Security options needed by the feature. |
8181
| entrypoint | string | Set if the feature requires an entrypoint. |
82+
| customizations | object | Product specific properties, each namespace under `customizations` is treated as a separate set of properties. For each of this sets the object is parsed, values are replaced while arrays are set as a union. |
83+
| installsAfter | array | Array of Id's of features that should execute before this one. Allows control for feature authors on soft dependencies between different features. |
8284

8385
Options
8486

@@ -110,10 +112,6 @@ In most cases, the `devcontainer-collection.json` file can be generated automati
110112

111113
Features are referenced in `devcontainer.json` , where the `features` tag consists of an object tag starting with the id of the feature and including the values of the options to pass to the feature itself.
112114

113-
The properties are:
114-
| Property | Type | Description |
115-
| :--- | :--- | :--- |
116-
| options | object | Type of the option. |
117115

118116
The `id` is the main reference point for how to find and download a particular feature. `id` can be defined in any of the following ways:
119117

0 commit comments

Comments
 (0)