Skip to content

Commit 050d5a2

Browse files
author
Tom Barnes
authored
doc updates (#2244)
* doc updates * review update
1 parent c873391 commit 050d5a2

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

docs-source/content/samples/simple/domains/model-in-image/prerequisites.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ weight: 1
137137
If you prefer, you can create your own base image and then substitute this image name in the WebLogic Image Tool `--fromImage` parameter throughout this sample. For example, you may wish to start with a base image that has patches applied. See [Preparing a Base Image]({{< relref "/userguide/managing-domains/domain-in-image/base-images/_index.md" >}}).
138138
{{% /notice %}}
139139

140-
1. Download the latest WebLogic Deploying Tooling (WDT) and WebLogic Image Tool (WIT) installer ZIP files to your `/tmp/mii-sample/model-images` directory. Both WDT and WIT are required to create your Model in Image container images.
140+
1. Download the latest [WebLogic Deploy Tooling](https://github.com/oracle/weblogic-deploy-tooling) (WDT) and [WebLogic Image Tool](https://github.com/oracle/weblogic-image-tool) (WIT) installer ZIP files to your `/tmp/mii-sample/model-images` directory. Both WDT and WIT are required to create your Model in Image container images.
141141

142142
For example, visit the GitHub [WebLogic Deploy Tooling Releases](https://github.com/oracle/weblogic-deploy-tooling/releases) and [WebLogic Image Tool Releases](https://github.com/oracle/weblogic-image-tool/releases) web pages to determine the latest release version for each, and then, assuming the version numbers are `1.9.9` and `1.9.7` respectively, call:
143143

@@ -158,14 +158,26 @@ weight: 1
158158

159159
$ unzip imagetool.zip
160160

161+
$ ./imagetool/bin/imagetool.sh cache deleteEntry --key wdt_latest
162+
161163
$ ./imagetool/bin/imagetool.sh cache addInstaller \
162164
--type wdt \
163165
--version latest \
164166
--path /tmp/mii-sample/model-images/weblogic-deploy.zip
165167
```
166168
167-
These steps will install WIT to the `/tmp/mii-sample/model-images/imagetool` directory, plus put a `wdt_latest` entry in the tool's cache which points to the WDT ZIP file installer. You will use WIT later in the sample for creating model images.
168-
169+
Note that the WebLogic Image Tool `cache deleteEntry` command does nothing
170+
if the `wdt_latest` key doesn't have a corresponding cache entry. It is included
171+
because the WIT cache lookup information is stored in the `$HOME/cache/.metadata`
172+
file by default, and if the cache already
173+
has a version of WDT in its `--type wdt --version latest` location, then the
174+
`cache addInstaller` command would fail.
175+
For more information about the WIT cache, see the
176+
[WIT Cache documentation](https://github.com/oracle/weblogic-image-tool/blob/master/site/cache.md).
177+
178+
These steps will install WIT to the `/tmp/mii-sample/model-images/imagetool` directory,
179+
plus put a `wdt_latest` entry in the tool's cache which points to the WDT ZIP file installer.
180+
You will use WIT and its cached reference to the WDT installer later in the sample for creating model images.
169181
170182
### Additional prerequisites for JRF domains
171183

0 commit comments

Comments
 (0)