You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>Note: If you want to create the image continue with the following steps, otherwise to update the image see [update an image](#update-an-image).
115
+
115
116
#### Create an image
116
117
117
118
After [setting up the WebLogic Image Tool]({{< relref "/soa-domains/create-or-update-image/#set-up-the-weblogic-image-tool">}}) and required build scripts, follow these steps to use the WebLogic Image Tool to `create` a new Oracle SOA Suite Docker image.
@@ -120,7 +121,7 @@ After [setting up the WebLogic Image Tool]({{< relref "/soa-domains/create-or-up
120
121
121
122
You must download the required Oracle SOA Suite installation binaries and patches as listed below from the [Oracle Software Delivery Cloud](https://edelivery.oracle.com/) and save them in a directory of your choice. In these steps, this directory is `download location`.
122
123
123
-
{{%expand "Click here to see the list of installation binaries and patches required for 20.4.2 release:" %}}
124
+
Following is the list of installation binaries and patches required for 20.4.2 release:
124
125
125
126
* JDK:
126
127
* jdk-8u271-linux-x64.tar.gz
@@ -133,7 +134,7 @@ You must download the required Oracle SOA Suite installation binaries and patche
133
134
* fmw_12.2.1.4.0_osb.jar
134
135
135
136
* Fusion MiddleWare Infrastructure patches:
136
-
* p28186730_139424_Generic.zip (Opatch)
137
+
* p28186730_139424_Generic.zip (OPatch)
137
138
* p31960985_122140_Generic.zip (WLS PATCH SET UPDATE 12.2.1.4.201001)
* p31544353_122140_Linux-x86-64.zip (ADR FOR WEBLOGIC SERVER 12.2.1.4.0 JULY CPU 2020)
@@ -152,8 +153,6 @@ You must download the required Oracle SOA Suite installation binaries and patche
152
153
* p31534880_122140_Generic.zip (One-off SOA)
153
154
* p31857456_122140_Generic.zip (One-off OSB)
154
155
155
-
{{% /expand %}}
156
-
157
156
158
157
##### Update required build files
159
158
@@ -162,7 +161,7 @@ The following files available in the code repository location `<imagetool-setup-
162
161
*`additionalBuildCmds.txt`
163
162
*`buildArgs`
164
163
165
-
1. In the `buildArgs` file, update all the occurrences of `%DOCKER_REPO%` with the `docker-images` repository location, which is the complete path of `imagetool-setup/docker-images`.
164
+
1. In the `buildArgs` file, update all the occurrences of `%DOCKER_REPO%` with the `docker-images` repository location, which is the complete path of `<imagetool-setup-location>/docker-images`.
166
165
167
166
For example, update:
168
167
@@ -195,12 +194,23 @@ The following files available in the code repository location `<imagetool-setup-
To the `create`commandin the `buildArgs` file, append the Oracle SOA Suite and Oracle Service Bus patches list using the `--patches` flag and Opatch patch using the `--opatchBugNumber` flag. Sample options for the list of patches above are:
1. Append the `--patches` flag and the product patch keys, to the create commandin`buildArgs` file. The `--patches` list must be a comma seperated collection of patch `--key` values used in the above `imagetool cache addEntry` commands. Sample `--patches` list forthe product patches addedin to the cache:
244
246
245
-
Example `buildArgs` file after appending product's list of patches and Opatch patch:
>*`--jdkVersion` value must match the `--version` value used in the `imagetool cache addInstaller`commandfor`--type` jdk.
268
+
>*`--version` value must match the `--version` value used in the `imagetool cache addInstaller`commandfor`--type` soa.
269
+
>*`--pull` always pulls the latest base Linux image `oraclelinux:7-slim` from Docker registry. This flag can be removed, if you want to use the Linux image `oraclelinux:7-slim` which is already available on the host where the SOA image is being created.
260
270
261
-
Refer to [this page](https://github.com/oracle/weblogic-image-tool/blob/master/site/create-image.md) for the complete list of options available with the WebLogic Image Tool `create` command.
271
+
Refer to [this page](https://github.com/oracle/weblogic-image-tool/blob/master/site/create-image.md) for the complete list of options available with the WebLogic Image Tool `create` command.
262
272
263
273
1. Enter the following command to create the Oracle SOA Suite image:
264
274
265
275
```bash
266
-
$ imagetool @<absolute path to `buildargs` file>"
276
+
$ imagetool @<absolute path to buildargs file>
267
277
```
278
+
>Note: Make sure that the absolute path to `buildargs` file is prepended with a `@` character as shown in the command above.
268
279
269
280
For example:
270
281
@@ -274,7 +285,7 @@ The following files available in the code repository location `<imagetool-setup-
274
285
275
286
{{%expand "Click here to see the sample Dockerfile generated with the imagetool command." %}}
276
287
277
-
```bash
288
+
278
289
########## BEGIN DOCKERFILE ##########
279
290
#
280
291
# Copyright (c) 2019, 2020, Oracle and/or its affiliates.
@@ -417,25 +428,28 @@ The following files available in the code repository location `<imagetool-setup-
1. Check the created image using the `docker images` command:
424
435
425
436
```bash
426
-
$ docker images | grep soa
437
+
$ docker images | grep soasuite
427
438
```
428
439
429
440
#### Update an image
430
441
431
442
After [setting up the WebLogic Image Tool]({{< relref "/soa-domains/create-or-update-image/#set-up-the-weblogic-image-tool">}}) and required build scripts, use the WebLogic Image Tool to `update` an existing Oracle SOA Suite Docker image:
432
443
433
-
1. Enter the following command for each patch to add the required patch(es) to the WebLogic Image Tool cache:
444
+
1. Enter the following command to add the OPatch patch to the WebLogic Image Tool cache:
1. Execute the `imagetool cache addEntry`commandfor each patch to add the required patch(es) to the WebLogic Image Tool cache. For example, to add patch `p30761841_122140_Generic.zip`:
0 commit comments