You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: proposals/devcontainer-features.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ By default, features are installed in an order selected by the implementing tool
10
10
11
11
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.
12
12
13
-
-`runsAfter` property defined as part of `devcontainer-feature.json`.
13
+
-`installsAfter` property defined as part of `devcontainer-feature.json`.
14
14
-`id`.
15
15
16
16
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:
79
79
| capAdd | array | Additional capabilities needed by the feature. |
80
80
| securityOpt | array | Security options needed by the feature. |
81
81
| 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. |
82
84
83
85
Options
84
86
@@ -110,10 +112,6 @@ In most cases, the `devcontainer-collection.json` file can be generated automati
110
112
111
113
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.
112
114
113
-
The properties are:
114
-
| Property | Type | Description |
115
-
| :--- | :--- | :--- |
116
-
| options | object | Type of the option. |
117
115
118
116
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:
0 commit comments