Skip to content

Commit 5654ef3

Browse files
committed
fixup! fixup! Replace tree extension with vim
Signed-off-by: Aidan Delaney <[email protected]>
1 parent 29fab3c commit 5654ef3

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

content/docs/extension-guide/create-extension/run-dockerfile.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Build the run image:
4545
```bash
4646
docker build \
4747
--file $PWD/samples/stacks/alpine/run/curl.Dockerfile \
48-
--tag run-image-curl .
48+
--tag localhost:5000/run-image-curl .
4949
```
5050

5151
### Re-build the application image
@@ -55,7 +55,7 @@ docker build \
5555
pack build hello-extensions \
5656
--builder localhost:5000/extensions-builder \
5757
--env BP_EXT_DEMO=1 \
58-
--env BP_REQUIRES=tree,curl \
58+
--env BP_REQUIRES=vim,curl \
5959
--path $PWD/samples/apps/java-maven \
6060
--pull-policy always \
6161
--network host \
@@ -68,26 +68,26 @@ You should see:
6868

6969
```
7070
[detector] ======== Results ========
71-
[detector] pass: samples/tree@0.0.1
71+
[detector] pass: samples/vim@0.0.1
7272
[detector] pass: samples/[email protected]
7373
[detector] pass: samples/[email protected]
7474
[detector] Resolving plan... (try #1)
75-
[detector] samples/tree 0.0.1
75+
[detector] samples/vim 0.0.1
7676
[detector] samples/curl 0.0.1
7777
[detector] samples/hello-extensions 0.0.1
78-
[detector] Running generate for extension samples/tree@0.0.1
78+
[detector] Running generate for extension samples/vim@0.0.1
7979
...
8080
[detector] Running generate for extension samples/[email protected]
8181
...
8282
[detector] Checking for new run image
8383
[detector] Found a run.Dockerfile configuring image 'run-image-curl' from extension with id 'samples/curl'
8484
...
85-
[extender] Found build Dockerfile for extension 'samples/tree'
86-
[extender] Applying the Dockerfile at /layers/generated/build/samples_tree/Dockerfile...
85+
[extender] Found build Dockerfile for extension 'samples/vim'
86+
[extender] Applying the Dockerfile at /layers/generated/build/samples_vim/Dockerfile...
8787
...
8888
[extender] Running build command
8989
[extender] ---> Hello Extensions Buildpack
90-
[extender] tree v1.8.0 (c) 1996 - 2018 by Steve Baker, Thomas Moore, Francesc Rocher, Florian Sesser, Kyosuke Tokoro
90+
[extender] vim v1.8.0 (c) 1996 - 2018 by Steve Baker, Thomas Moore, Francesc Rocher, Florian Sesser, Kyosuke Tokoro
9191
...
9292
Successfully built image hello-extensions
9393
```
@@ -105,16 +105,16 @@ You should see something akin to:
105105
curl 7.85.0-DEV (x86_64-pc-linux-musl) ... more stuff here ...
106106
```
107107

108-
What happened: now that `hello-extensions` requires both `tree` and `curl` in its build plan, both extensions are
108+
What happened: now that `hello-extensions` requires both `vim` and `curl` in its build plan, both extensions are
109109
included in the build and provide the needed dependencies for build and launch, respectively
110-
* The `tree` extension installs `tree` at build time, as before
110+
* The `vim` extension installs `vim` at build time, as before
111111
* The `curl` extension switches the run image to `run-image-curl`, which has `curl` installed
112112

113113
Now our `curl` process can succeed!
114114

115115
## What's next?
116116

117-
The `tree` and `curl` examples are very simple, but we can unlock powerful new features with this functionality.
117+
The `vim` and `curl` examples are very simple, but we can unlock powerful new features with this functionality.
118118

119119
Platforms could have several run images available, each tailored to a specific language family, thus limiting the number
120120
of installed dependencies for each image to the minimum necessary to support the targeted language. Image extensions

0 commit comments

Comments
 (0)