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
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,12 +8,12 @@ Features can be defined by a `devcontainer-feature.json` file in the root folder
8
8
9
9
By default, features are installed in an order selected by the implementing tool.
10
10
11
-
If any of the following properties in the feature's `devcontainer-feature.json, or the user's `devcontainer.json` are provided, the ordered indicated by the propert(ies) are respected.
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
13
-`runsAfter` property defined as part of `devcontainer-feature.json`.
14
-
-id.
14
+
-`id`.
15
15
16
-
The tool uses the `runsAfter`propery to intelligently manage this order and ensure that if there are relationships betwen the features they are respected.
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.
17
17
18
18
An end-user can explicitly provide an installation order for features given the `overrideFeatureInstallOrder` property of `devcontainer.json`.
19
19
@@ -152,9 +152,9 @@ A release consists of the following:
152
152
153
153
There are several things to keep in mind for an application that implements features:
154
154
155
-
- The order of execution of features is determined by the application based on the `installAfter` property by feature authors and can be overriden by users if necesarry with the `overrideFeatureInstallOrder` in `devcontainer.json`.
155
+
- The order of execution of features is determined by the application, based on the `installAfter` property used by feature authors. It can be overridden by users if necessary with the `overrideFeatureInstallOrder` in `devcontainer.json`.
156
156
- Features are used to create an image that can be used to create a container or not.
157
-
- Parameters like `privileged`,`init` are included if just 1 feature requires them.
158
-
- Parameters like `capAdd`,`securityOp` are concatenated.
159
-
-ContainerEnv is added before the feature is executed as `ENV` commands in the docker file.
157
+
- Parameters like `privileged` and`init` are included if just 1 feature requires them.
158
+
- Parameters like `capAdd` and`securityOp` are concatenated.
159
+
-`containerEnv` is added before the feature is executed as `ENV` commands in the Dockerfile.
160
160
- Each feature script executes as its own layer to aid in caching and rebuilding.
0 commit comments