Skip to content

Commit 0647b30

Browse files
update patching doc (#2343)
* update patching doc
1 parent c20c96d commit 0647b30

File tree

1 file changed

+17
-0
lines changed
  • documentation/staging/content/userguide/base-images

1 file changed

+17
-0
lines changed

documentation/staging/content/userguide/base-images/_index.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ description: "Create or obtain WebLogic Server images."
1212
* [Obtain standard images from the Oracle Container Registry](#obtain-standard-images-from-the-oracle-container-registry)
1313
* [Create a custom image with patches applied](#create-a-custom-image-with-patches-applied)
1414
* [Create a custom image with your domain inside the image](#create-a-custom-image-with-your-domain-inside-the-image)
15+
* [Patch WebLogic Server images](#patch-weblogic-server-images)
1516
* [Apply patched images to a running domain](#apply-patched-images-to-a-running-domain)
1617

1718

@@ -154,7 +155,23 @@ including keys and credentials that are used to access external resources
154155
[WebLogic domain in container image protection]({{<relref "/security/domain-security/image-protection#weblogic-domain-in-container-image-protection">}}).
155156
{{% /notice %}}
156157

158+
#### Patch WebLogic Server images
157159

160+
Use the [WebLogic Image Tool](https://github.com/oracle/weblogic-image-tool) (WIT) to patch
161+
WebLogic Server images with quarterly Patch Set Updates (PSUs), which include security fixes, or with one-off patches.
162+
163+
Use either the WIT [`create`](https://github.com/oracle/weblogic-image-tool/blob/master/site/create-image.md) or
164+
[`update`](https://github.com/oracle/weblogic-image-tool/blob/master/site/update-image.md) command, however,
165+
patching using the `create` command results in a smaller WebLogic Server image size. Note that you will need to
166+
download the WebLogic Server 12.2.1.4.0 installer and JDK installer prior to running the `create` command. For details, see
167+
the WIT [Quick Start](https://github.com/oracle/weblogic-image-tool/blob/master/site/quickstart.md) guide.
168+
169+
Example: Create an image named `sample:wls` with the WebLogic Server 12.2.1.4.0 slim installer, JDK 8u291, a slim version of the Oracle Linux 7 container image,
170+
and latest PSU and recommended CPU and SPU patches applied.
171+
172+
```shell
173+
$ imagetool create --tag sample:wls --type=wlsslim --recommendedPatches --pull --user [email protected] --password hello --version=12.2.1.4.0 --jdkVersion=8u291
174+
```
158175

159176
#### Apply patched images to a running domain
160177

0 commit comments

Comments
 (0)