Skip to content

Commit 7daeece

Browse files
author
Natalie Arellano
committed
Update all run image references to include the registry
Signed-off-by: Natalie Arellano <[email protected]>
1 parent e74d00f commit 7daeece

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ You should see:
7676
...
7777
[detector] Running generate for extension samples/[email protected]
7878
...
79-
[detector] Found a run.Dockerfile from extension 'samples/curl' setting run image to 'run-image-curl'
79+
[detector] Found a run.Dockerfile from extension 'samples/curl' setting run image to 'localhost:5000/run-image-curl'
8080
...
8181
[extender (build)] Found build Dockerfile for extension 'samples/tree'
8282
[extender (build)] Applying Dockerfile at /layers/generated/build/samples_tree/Dockerfile...

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The extension always detects (because its exit code is `0`) and provides a depen
2727
cat $PWD/samples/extensions/curl/bin/generate
2828
```
2929

30-
The extension generates a `run.Dockerfile` that switches the run image to reference `run-image-curl`.
30+
The extension generates a `run.Dockerfile` that switches the run image to reference `localhost:5000/run-image-curl`.
3131

3232
### Build a run image for `curl` extension to use
3333

@@ -114,7 +114,7 @@ curl 7.85.0-DEV (x86_64-pc-linux-musl) ... more stuff here ...
114114
What happened: now that `hello-extensions` requires both `tree` and `curl` in its build plan, both extensions are
115115
included in the build and provide the needed dependencies for build and launch, respectively
116116
* The `tree` extension installs `tree` at build time, as before
117-
* The `curl` extension switches the run image to `run-image-curl`, which has `curl` installed
117+
* The `curl` extension switches the run image to `localhost:5000/run-image-curl`, which has `curl` installed
118118

119119
Now our `curl` process can succeed!
120120

@@ -132,7 +132,7 @@ You should see:
132132
ERROR: failed to launch: path lookup: exec: "cowsay": executable file not found in $PATH
133133
```
134134

135-
Our run image, `run-image-curl`, has `curl` installed, but it doesn't have `cowsay`.
135+
Our run image, `localhost:5000/run-image-curl`, has `curl` installed, but it doesn't have `cowsay`.
136136

137137
In general, we may not always have a preconfigured run image available with all the needed dependencies for the current application.
138138
Luckily, we can also use image extensions to dynamically install runtime dependencies at build time. Let's look at that next.

0 commit comments

Comments
 (0)