@@ -92,17 +92,20 @@ curl 7.85.0-DEV (x86_64-pc-linux-musl)
92
92
What happened: now that ` hello-extensions ` requires both ` tree ` and ` curl ` in its build plan, both extensions are
93
93
included in the build and provide the needed dependencies for build and launch, respectively
94
94
* The ` tree ` extension installs ` tree ` at build time, as before
95
- * The ` curl ` extension switches the run image to ` run-image-curl ` , which has ` curl ` installed. Now our ` curl ` process
96
- can succeed!
95
+ * The ` curl ` extension switches the run image to ` run-image-curl ` , which has ` curl ` installed
96
+
97
+ Now our ` curl ` process can succeed!
97
98
98
99
## What's next?
99
100
100
101
The ` tree ` and ` curl ` examples are very simple, but we can unlock powerful new features with this functionality.
102
+
101
103
Platforms could have several run images available, each tailored to a specific language family, thus limiting the number
102
104
of installed dependencies for each image to the minimum necessary to support the targeted language. Image extensions
103
- could be used to switch the run image to that most appropriate for the current application. Similarly, builder images
104
- could be kept lean if image extensions are used to dynamically install the needed dependencies depending on the
105
- requirements of each application.
105
+ could be used to switch the run image to that most appropriate for the current application.
106
+
107
+ Similarly, builder images could be kept lean if image extensions are used to dynamically install the needed dependencies
108
+ for each application.
106
109
107
110
In the future, both run image switching and run image modification will be supported, opening the door to other use
108
111
cases. Consult the [ RFC] ( https://github.com/buildpacks/rfcs/pull/173 ) for further information.
0 commit comments