Showing posts with label WIT. Show all posts
Showing posts with label WIT. Show all posts

Wednesday, April 3, 2024

Weblogic k8s - WIT - create auxiliary image

 Oracle HOWTO


Docker HOWTO


See also 

Auxiliary images are the recommended best approach for including Model in Image model files, application archive files, and the WebLogic Deploy Tooling installation, in your pods. This feature eliminates the need to provide these files in the image specified in domain.spec.image.

Instead:

  • The domain resource’s domain.spec.image directly references a base image that needs to include only a WebLogic installation and a Java installation.
  • The domain resource’s auxiliary image related fields reference one or more smaller images that contain the desired Model in Image files.

References

  • Run the kubectl explain domain.spec.configuration.model.auxiliaryImages command.

  • See the model.auxiliaryImages section in the domain resource schema.


Domain model in image files 

dave@dave:/git/weblogic-kubernetes-operator/kubernetes/samples/quick-start$ find
.
./archive
./archive/wlsdeploy
./archive/wlsdeploy/applications
./archive/wlsdeploy/applications/quickstart
./archive/wlsdeploy/applications/quickstart/WEB-INF
./archive/wlsdeploy/applications/quickstart/WEB-INF/web.xml
./archive/wlsdeploy/applications/quickstart/index.jsp
./domain-resource.yaml
./ingress-route.yaml
./model.properties
./model.yaml





Prepare files for Dave Domain - descriptors and application archive




dave@dave:/git/weblogic/wit/dave-domain-aux-image$ find
.
./archive
./archive/wlsdeploy
./archive/wlsdeploy/applications
./archive/wlsdeploy/applications/basicWebappEjb.war
./DiscoveredABDataSourceEARDomain.yaml
./ABDataSourceEARDomain-k8s.yaml

Run archive helper
$ rm DaveDomainAuxImage.zip
$ archiveHelper.sh  add application -archive_file=DaveDomainAuxImage.zip -source /git/weblogic/wit/dave-domain-aux-image/archive/wlsdeploy/applications/basicWebappEjb.war 
wlsdeploy/applications/basicWebappEjb.war

Created archive - check with unzip
$ unzip -l ../DaveDomainAuxImage.zip
Archive:  ../DaveDomainAuxImage.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
 28381729  04-04-2024 11:10   wlsdeploy/applications/basicWebappEjb.war
---------                     -------
 28381729                     1 file


Created archive - check with archive tool

$ archiveHelper.sh list application -archive_file  DaveDomainAuxImage.zip 
wlsdeploy/applications/basicWebappEjb.war


Add WDT installer into cache 

dave@dave:/git/weblogic/wit/dave-domain-aux-image$ imagetool.sh cache deleteEntry --key wdt_latest
[INFO   ] Nothing to delete for key: wdt_latest
dave@dave:/git/weblogic/wit/dave-domain-aux-image$ imagetool.sh cache addInstaller \
  --type wdt \
  --version latest \
  --path /git/weblogic/installers/weblogic-deploy.zip 
[INFO   ] Successfully added to cache. wdt_latest=/git/weblogic/installers/weblogic-deploy.zip




Create Auxiliary image with WIT


Run imagetool
  • WDT descriptor 
  • application archive 


ave@dave:/git/weblogic/wit/dave-domain-aux-image$ imagetool.sh createAuxImage   --tag dave-aux-wdt-domain-image:WLS-1.0   --wdtModel ./DiscoveredABDataSourceEARDomain.yaml   --wdtArchive ./DaveDomainAuxImage.zip
[INFO   ] WebLogic Image Tool version 1.12.2
[INFO   ] Image Tool build ID: 30ea5b40-b948-4b38-b674-24ec35dd236b
[INFO   ] Temporary directory used for image build context: /home/dave/wlsimgbuilder_temp576740407265692995
[INFO   ] Copying ./DiscoveredABDataSourceEARDomain.yaml to build context folder.
[INFO   ] Copying ./DaveDomainAuxImage.zip to build context folder.
[INFO   ] Copying /git/weblogic/installers/weblogic-deploy.zip to build context folder.
[INFO   ] Starting build: docker build --no-cache --force-rm --tag dave-aux-wdt-domain-image:WLS-1.0 /home/dave/wlsimgbuilder_temp576740407265692995
Sending build context to Docker daemon  30.84MB

Step 1/18 : FROM busybox as os_update
 ---> ba5dc23f65d4
Step 2/18 : LABEL com.oracle.weblogic.imagetool.buildid="30ea5b40-b948-4b38-b674-24ec35dd236b"
 ---> Running in e2ef68d98bf2
Removing intermediate container e2ef68d98bf2
 ---> 4e107816576d
Step 3/18 : USER root
 ---> Running in 1a8e7575a313
Removing intermediate container 1a8e7575a313
 ---> 91aaaff0af83
Step 4/18 : RUN if [ -z "$(grep ^oracle: /etc/group)" ]; then addgroup oracle || exit 1 ; fi  && if [ -z "$(grep ^oracle: /etc/group)" ]; then addgroup oracle || exit 1 ; fi  && if [ -z "$(grep ^oracle: /etc/passwd)" ]; then adduser -D -G oracle oracle || exit 1 ; fi
 ---> Running in 196b518f14a4
Removing intermediate container 196b518f14a4
 ---> fd867c67d0f3
Step 5/18 : FROM os_update as wdt_build
 ---> fd867c67d0f3
Step 6/18 : RUN mkdir -p /auxiliary  && mkdir -p /auxiliary/models  && chown oracle:oracle /auxiliary
 ---> Running in 3d8d3ca61e64
Removing intermediate container 3d8d3ca61e64
 ---> 388f3953e444
Step 7/18 : COPY --chown=oracle:oracle ["weblogic-deploy.zip", "/tmp/imagetool/"]
 ---> 4fe844c892a3
Step 8/18 : RUN test -d /auxiliary/weblogic-deploy && rm -rf /auxiliary/weblogic-deploy || echo Initial WDT install         && unzip -q "/tmp/imagetool/weblogic-deploy.zip" -d /auxiliary
 ---> Running in c1dbd28230ec
Initial WDT install
Removing intermediate container c1dbd28230ec
 ---> 4216a2cc1075
Step 9/18 : FROM os_update as final
 ---> fd867c67d0f3
Step 10/18 : ENV AUXILIARY_IMAGE_PATH=/auxiliary     WDT_HOME=/auxiliary     WDT_MODEL_HOME=/auxiliary/models
 ---> Running in 5f9ae6be833d
Removing intermediate container 5f9ae6be833d
 ---> c7a4f766d1bc
Step 11/18 : RUN mkdir -p /auxiliary && chown oracle:oracle /auxiliary
 ---> Running in 777aec70d270
Removing intermediate container 777aec70d270
 ---> d15ec5a87e2a
Step 12/18 : COPY --from=wdt_build --chown=oracle:oracle /auxiliary /auxiliary/
 ---> 5877bb70ecd0
Step 13/18 : RUN mkdir -p /auxiliary/models && chown oracle:oracle /auxiliary/models
 ---> Running in 6db0d4d979f3
Removing intermediate container 6db0d4d979f3
 ---> acbc52b480c5
Step 14/18 : COPY --chown=oracle:oracle ["DiscoveredABDataSourceEARDomain.yaml", "/auxiliary/models/"]
 ---> d230c6a7af74
Step 15/18 : COPY --chown=oracle:oracle ["DaveDomainAuxImage.zip", "/auxiliary/models/"]
 ---> c26830f8ffa4
Step 16/18 : RUN chmod -R 640 /auxiliary/models/*
 ---> Running in 5cbc03438514
Removing intermediate container 5cbc03438514
 ---> 7828c4cf743b
Step 17/18 : USER oracle
 ---> Running in 13dcde89b0b2
Removing intermediate container 13dcde89b0b2
 ---> de177b7f5a62
Step 18/18 : WORKDIR /auxiliary
 ---> Running in 7a1a402e5807
Removing intermediate container 7a1a402e5807
 ---> 90b60de7d8e1
Successfully built 90b60de7d8e1
Successfully tagged dave-aux-wdt-domain-image:WLS-1.0
[INFO   ] Build successful. Build time=19s. Image tag=dave-aux-wdt-domain-image:WLS-1.0

Check created Docker image

 docker images
REPOSITORY                                                TAG                   IMAGE ID       CREATED              SIZE
dave-aux-wdt-domain-image                                 WLS-1.0               90b60de7d8e1   About a minute ago   37.1MB


List image content
$ docker run -it --rm dave-aux-wdt-domain-image:WLS-1.0 ls -l /auxiliary
total 0
drwxr-xr-x    1 oracle   oracle         116 Apr  4 09:19 models
drwxr-x---    1 oracle   oracle          76 Apr  4 09:19 weblogic-deploy
dave@dave:/git/weblogic/wit/dave-domain-aux-image$ docker run -it --rm dave-aux-wdt-domain-image:WLS-1.0 ls -l /auxiliary/models
total 27724
-rw-r-----    1 oracle   oracle    28385215 Apr  4 09:19 DaveDomainAuxImage.zip
-rw-r-----    1 oracle   oracle        3286 Apr  4 09:19 DiscoveredABDataSourceEARDomain.yaml
dave@dave:/git/weblogic/wit/dave-domain-aux-image$ docker run -it --rm dave-aux-wdt-domain-image:WLS-1.0 ls -l /auxiliary/weblogic-deploy
total 8
-rw-r-----    1 oracle   oracle        1839 Apr  4 09:19 LICENSE.txt
-rw-r-----    1 oracle   oracle          29 Apr  4 09:19 VERSION.txt
drwxr-x---    1 oracle   oracle         826 Apr  4 09:19 bin
drwxr-x---    1 oracle   oracle          36 Apr  4 09:19 etc
drwxr-x---    1 oracle   oracle         298 Apr  4 09:19 lib
drwxr-x---    1 oracle   oracle          96 Apr  4 09:19 samples

Deploy create Dave Auxiliary image to minikube with Weblogic k8s Operator


Steps to do 

  • Create a Secret containing your WebLogic administrator user name and password.
  • Create a Secret containing your Model in Image runtime encryption password:
    • All Model in Image domains must supply a runtime encryption Secret with a password value.
    • It is used to encrypt configuration that is passed around internally by the operator.
    • The value must be kept private but can be arbitrary; you can optionally supply a different secret value every time you restart the domain.
  • Deploy a Domain YAML file that references the new image.
  • Wait for the domain’s Pods to start and reach their ready state.

Create aux image inside Minikube Docker env to use it locally 

$ eval $(minikube docker-env)

$ imagetool.sh createAuxImage   --tag dave-aux-wdt-domain-image:WLS-1.0   --wdtModel ./DiscoveredABDataSourceEARDomain.yaml   --wdtArchive ./DaveDomainAuxImage.zip

$  docker images
REPOSITORY                                          TAG           IMAGE ID       CREATED              SIZE
dave-aux-wdt-domain-image                           WLS-1.0       10b30f4038fb   About a minute ago   65.5MB




Apply via kubectl
$kubectl apply -f domain-resource.yaml 

Forward admin server port, access Weblogic console http://localhost:7001/console/


$ kubectl port-forward base-domain-adminserver 7001:7001 -n sample-domain1-ns
Forwarding from 127.0.0.1:7001 -> 7001
Forwarding from [::1]:7001 -> 7001







Auxiliary image operator inside Minikube

All pods 



Describe domain , get pods
  $ kubectl describe domain base-domain -n sample-domain1-ns Normal   PodCycleStarting  13m                weblogic.operator  Replacing pod base-domain-adminserver because: Pod spec has changed.
  Normal   RollStarting      13m                weblogic.operator  Rolling restart WebLogic server pods in domain base-domain because: .
  Normal   PodCycleStarting  12m                weblogic.operator  Replacing pod base-domain-managedserverb because: Pod spec has changed.
  Normal   RollStarting      12m                weblogic.operator  Rolling restart WebLogic server pods in domain base-domain because: .
  Warning  Unavailable       12m (x2 over 14m)  weblogic.operator  Domain base-domain is unavailable: an insufficient number of its servers that are expected to be running are ready.";
  Normal   PodCycleStarting  11m                weblogic.operator  Replacing pod base-domain-managedservera because: Pod spec has changed.
  Normal   Available         10m (x2 over 14m)  weblogic.operator  Domain base-domain is available: a sufficient number of its servers have reached the ready state.
  Normal   RollCompleted     10m (x2 over 13m)  weblogic.operator  Rolling restart of domain base-domain completed.
  Normal   Completed         9m35s              weblogic.operator  Domain base-domain is complete because all of the following are true: there is no failure detected, there are no pending server shutdowns, and all servers expected to be running are ready and at their target image, auxiliary images, restart version, and introspect version.
dave@dave:/git/weblogic/wit/dave-domain-aux-image$  kubectl get pods -n sample-domain1-ns
NAME                                READY   STATUS    RESTARTS   AGE
base-domain-adminserver             1/1     Running   0          13m
base-domain-managedservera          1/1     Running   0          11m
base-domain-managedserverb          1/1     Running   0          11m
sample-domain1-introspector-qzst6   0/1     Error     0          3h8m

Created domain - config
[oracle@base-domain-adminserver config]$ cat config.xml 
<?xml version="1.0" encoding="UTF-8"?>
<domain xsi:schemaLocation="http://xmlns.oracle.com/weblogic/security/wls http://xmlns.oracle.com/weblogic/security/wls/1.0/wls.xsd http://xmlns.oracle.com/weblogic/domain http://xmlns.oracle.com/weblogic/1.0/domain.xsd http://xmlns.oracle.com/weblogic/security http://xmlns.oracle.com/weblogic/1.0/security.xsd http://xmlns.oracle.com/weblogic/security/xacml http://xmlns.oracle.com/weblogic/security/xacml/1.0/xacml.xsd" xmlns="http://xmlns.oracle.com/weblogic/domain" xmlns:sec="http://xmlns.oracle.com/weblogic/security" xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <name>base_domain</name>
  <domain-version>14.1.1.0.0</domain-version>
  <security-configuration xmlns:xacml="http://xmlns.oracle.com/weblogic/security/xacml" xmlns:pas="http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator">
    <name>base_domain</name>
    <realm>
      <sec:authentication-provider xsi:type="wls:default-authenticatorType">
        <sec:name>DefaultAuthenticator</sec:name>
      </sec:authentication-provider>
      <sec:authentication-provider xsi:type="wls:default-identity-asserterType">
        <sec:name>DefaultIdentityAsserter</sec:name>
        <sec:active-type>AuthenticatedUser</sec:active-type>
        <sec:active-type>weblogic-jwt-token</sec:active-type>
      </sec:authentication-provider>
      <sec:role-mapper xsi:type="xacml:xacml-role-mapperType">
        <sec:name>XACMLRoleMapper</sec:name>
      </sec:role-mapper>
      <sec:authorizer xsi:type="xacml:xacml-authorizerType">
        <sec:name>XACMLAuthorizer</sec:name>
      </sec:authorizer>
      <sec:adjudicator xsi:type="wls:default-adjudicatorType">
        <sec:name>DefaultAdjudicator</sec:name>
      </sec:adjudicator>
      <sec:credential-mapper xsi:type="wls:default-credential-mapperType">
        <sec:name>DefaultCredentialMapper</sec:name>
      </sec:credential-mapper>
      <sec:cert-path-provider xsi:type="wls:web-logic-cert-path-providerType">
        <sec:name>WebLogicCertPathProvider</sec:name>
      </sec:cert-path-provider>
      <sec:cert-path-builder>WebLogicCertPathProvider</sec:cert-path-builder>
      <sec:name>myrealm</sec:name>
      <sec:password-validator xsi:type="pas:system-password-validatorType">
        <sec:name>SystemPasswordValidator</sec:name>
        <pas:min-password-length>8</pas:min-password-length>
        <pas:min-numeric-or-special-characters>1</pas:min-numeric-or-special-characters>
      </sec:password-validator>
    </realm>
    <default-realm>myrealm</default-realm>
    <credential-encrypted>{AES256}NFOF8DcWvKQxlhAcZiWrifCqOi5l4PluW+09IN9nq1ur39UDANcIqzlNOjpg0ZwoIwTlsgw8Hh/D0D52kfpmCkC2HbmS1Ox75XM24dtacK/zwEGDAtoOsBBym7w/3JNz</credential-encrypted>
    <node-manager-username>weblogic</node-manager-username>
    <node-manager-password-encrypted>{AES256}r30smSbzmUw0hP/oPaKLUlvx8RSn7XVVavl1N1u6Yhs=</node-manager-password-encrypted>
  </security-configuration>
  <server>
    <name>AdminServer</name>
    <listen-address>base-domain-adminserver</listen-address>
    <network-access-point>
      <name>internal-t3</name>
      <listen-address>localhost</listen-address>
      <listen-port>7001</listen-port>
    </network-access-point>
  </server>
  <server>
    <name>ManagedServerA</name>
    <listen-port>7002</listen-port>
    <cluster>cluster1</cluster>
    <web-server>
      <name>ManagedServerA</name>
      <web-server-log>
        <name>ManagedServerA</name>
        <number-of-files-limited>false</number-of-files-limited>
      </web-server-log>
    </web-server>
    <listen-address>base-domain-managedservera</listen-address>
    <jta-migratable-target>
      <name>ManagedServerA</name>
      <user-preferred-server>ManagedServerA</user-preferred-server>
      <cluster>cluster1</cluster>
    </jta-migratable-target>
  </server>
  <server>
    <name>ManagedServerB</name>
    <listen-port>7003</listen-port>
    <cluster>cluster2</cluster>
    <web-server>
      <name>ManagedServerB</name>
      <web-server-log>
        <name>ManagedServerB</name>
        <number-of-files-limited>false</number-of-files-limited>
      </web-server-log>
    </web-server>
    <listen-address>base-domain-managedserverb</listen-address>
    <jta-migratable-target>
      <name>ManagedServerB</name>
      <user-preferred-server>ManagedServerB</user-preferred-server>
      <cluster>cluster2</cluster>
    </jta-migratable-target>
  </server>
  <cluster>
    <name>cluster1</name>
    <cluster-messaging-mode>unicast</cluster-messaging-mode>
  </cluster>
  <cluster>
    <name>cluster2</name>
    <cluster-messaging-mode>unicast</cluster-messaging-mode>
  </cluster>
  <embedded-ldap>
    <name>base_domain</name>
    <credential-encrypted>{AES256}c03SXQ9UQZkCkVVwzsX0N6kKZ+SwVOSCOYw2L/gEn9K67Ao5xnXBpELgldlsLkrq</credential-encrypted>
  </embedded-ldap>
  <configuration-version>14.1.1.0.0</configuration-version>
  <app-deployment>
    <name>basicWebapp</name>
    <target>cluster1, cluster2</target>
    <module-type>war</module-type>
    <source-path>wlsdeploy/applications/basicWebappEjb.war</source-path>
    <security-dd-model>DDOnly</security-dd-model>
  </app-deployment>
  <migratable-target>
    <name>ManagedServerA (migratable)</name>
    <notes>This is a system generated default migratable target for a server. Do not delete manually.</notes>
    <user-preferred-server>ManagedServerA</user-preferred-server>
    <cluster>cluster1</cluster>
    <migration-policy>manual</migration-policy>
  </migratable-target>
  <migratable-target>
    <name>ManagedServerB (migratable)</name>
    <notes>This is a system generated default migratable target for a server. Do not delete manually.</notes>
    <user-preferred-server>ManagedServerB</user-preferred-server>
    <cluster>cluster2</cluster>
    <migration-policy>manual</migration-policy>
  </migratable-target>
  <admin-server-name>AdminServer</admin-server-name>
  <jdbc-system-resource>
    <name>JDBC-Data-Source-Oracle</name>
    <target>cluster1, cluster2</target>
    <descriptor-file-name>jdbc/JDBC-Data-Source-Oracle-3873-jdbc.xml</descriptor-file-name>
  </jdbc-system-resource>
</domain>


Saturday, March 16, 2024

Weblogic k8s - WIT - create domain model image with WDT

 HOWTO

Oracle HOWTO

 

GitHub 

Steps to do 

  • Install WIT 
  • Download  Weblogic and JDK installers 
  • Create Docker image with installers
  • Prepare WDT model 
  • Create auxiliary image via WIT
  • Create domain  via kubectl

Download Weblogic and JDK Docker images


dave@dave:/git/weblogic/wit$ ls -lt
total 788764
-rw-r--r--. 1 dave dave 169934047 Apr  3 20:30 jdk-11.0.20_linux-x64_bin.tar.gz
-rw-r--r--. 1 dave dave 637756056 Apr  3 20:29 fmw_14.1.1.0.0_wls_lite_Disk1_1of1.zip

Download WIT
 curl -m 120 -fL https://github.com/oracle/weblogic-image-tool/releases/latest/download/imagetool.zip -o ./imagetool.zip

All downloaded files
<pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"><code>$ ls -1l
total 793232
-rw-r--r--. 1 dave dave 637756056 Apr  3 20:29 fmw_14.1.1.0.0_wls_lite_Disk1_1of1.zip
-rw-r--r--. 1 dave dave   2126347 Apr  3 20:32 imagetool.zip
-rw-r--r--. 1 dave dave 169934047 Apr  3 20:30 jdk-11.0.20_linux-x64_bin.tar.gz
-rw-r--r--. 1 dave dave   2443633 Apr  3 21:02 weblogic-deploy.zip

</code></pre>
Add path to imagetool into PATH
PATH=/app/weblogic/wit/imagetool/bin:$PATH

export PATH

Add installers into cache
$ imagetool.sh cache addInstaller --type jdk --version 11u020 --path jdk-11.0.20_linux-x64_bin.tar.gz
[INFO   ] Successfully added to cache. jdk_11u020=/git/weblogic/wit/jdk-11.0.20_linux-x64_bin.tar.gz

$ imagetool.sh cache addInstaller --type wls --version 14.1.1.0.0  --path fmw_14.1.1.0.0_wls_lite_Disk1_1of1.zip 
[INFO   ] Successfully added to cache. wls_14.1.1.0.0=/git/weblogic/wit/fmw_14.1.1.0.0_wls_lite_Disk1_1of1.zip


Build image
dave@dave:/git/weblogic/wit$ imagetool.sh create --tag wls:14.1.1.0.0 --jdkVersion 11u020 --version 14.1.1.0.0
[INFO   ] WebLogic Image Tool version 1.12.2
[INFO   ] Image Tool build ID: 9cfd0bb5-bd06-4d2b-a6f7-8e72189e4399
[INFO   ] Temporary directory used for image build context: /home/dave/wlsimgbuilder_temp14932286092203898011
[INFO   ] Copying /git/weblogic/wit/jdk-11.0.20_linux-x64_bin.tar.gz to build context folder.
[INFO   ] Using middleware installers (wls) version 14.1.1.0.0
[INFO   ] Copying /git/weblogic/wit/fmw_14.1.1.0.0_wls_lite_Disk1_1of1.zip to build context folder.
[INFO   ] Starting build: docker build --no-cache --force-rm --tag wls:14.1.1.0.0 /home/dave/wlsimgbuilder_temp14932286092203898011
Sending build context to Docker daemon  807.7MB

Step 1/27 : FROM ghcr.io/oracle/oraclelinux:8-slim as os_update
8-slim: Pulling from oracle/oraclelinux
692a254aa188: Pulling fs layer
692a254aa188: Download complete
692a254aa188: Pull complete
Digest: sha256:36d44bb00961a439af36c1bac759ced5d10c418b9b46076be866f5ba6fc923f6
Status: Downloaded newer image for ghcr.io/oracle/oraclelinux:8-slim
 ---> b1ef7cdd2820
Step 2/27 : LABEL com.oracle.weblogic.imagetool.buildid="9cfd0bb5-bd06-4d2b-a6f7-8e72189e4399"
 ---> Running in e30b9601c067
Removing intermediate container e30b9601c067
 ---> 005b760e097c
Step 3/27 : USER root
 ---> Running in e89138fc74ce
Removing intermediate container e89138fc74ce
 ---> e33a1419adbe
Step 4/27 : RUN microdnf update     && microdnf install gzip tar unzip libaio libnsl jq findutils diffutils shadow-utils     && microdnf clean all
 ---> Running in 1dab17b55647
Downloading metadata...
Downloading metadata...
Package                                                      Repository           Size
Installing:                                                                           
 glibc-gconv-extra-2.28-236.0.1.el8_9.12.x86_64              ol8_baseos_latest  1.6 MB
Upgrading:                                                                            
 glibc-2.28-236.0.1.el8_9.12.x86_64                          ol8_baseos_latest  2.3 MB
  replacing glibc-2.28-236.0.1.el8.7.x86_64                                           
 glibc-common-2.28-236.0.1.el8_9.12.x86_64                   ol8_baseos_latest  1.1 MB
  replacing glibc-common-2.28-236.0.1.el8.7.x86_64                                    
 glibc-minimal-langpack-2.28-236.0.1.el8_9.12.x86_64         ol8_baseos_latest 71.1 kB
  replacing glibc-minimal-langpack-2.28-236.0.1.el8.7.x86_64                          
 systemd-libs-239-78.0.4.el8.x86_64                          ol8_baseos_latest  1.2 MB
   replacing systemd-libs-239-78.0.3.el8.x86_64                                       
Transaction Summary:
 Installing:        1 packages
 Reinstalling:      0 packages
 Upgrading:         4 packages
 Obsoleting:        0 packages
 Removing:          0 packages
 Downgrading:       0 packages
Downloading packages...
Running transaction test...
Updating: glibc-common;2.28-236.0.1.el8_9.12;x86_64;ol8_baseos_latest
Updating: glibc-minimal-langpack;2.28-236.0.1.el8_9.12;x86_64;ol8_baseos_latest
Updating: glibc;2.28-236.0.1.el8_9.12;x86_64;ol8_baseos_latest
Installing: glibc-gconv-extra;2.28-236.0.1.el8_9.12;x86_64;ol8_baseos_latest
Updating: systemd-libs;239-78.0.4.el8;x86_64;ol8_baseos_latest
Cleanup: systemd-libs;239-78.0.3.el8;x86_64;installed
Cleanup: glibc;2.28-236.0.1.el8.7;x86_64;installed
Cleanup: glibc-minimal-langpack;2.28-236.0.1.el8.7;x86_64;installed
Cleanup: glibc-common;2.28-236.0.1.el8.7;x86_64;installed
Complete.
Package                              Repository            Size
Installing:                                                    
 diffutils-3.6-6.el8.x86_64          ol8_baseos_latest 369.3 kB
 findutils-1:4.6.0-21.el8.x86_64     ol8_baseos_latest 539.8 kB
 gzip-1.9-13.el8_5.x86_64            ol8_baseos_latest 170.7 kB
 jq-1.6-7.0.3.el8.x86_64             ol8_appstream     206.5 kB
 libaio-0.3.112-1.el8.x86_64         ol8_baseos_latest  33.4 kB
 libnsl-2.28-236.0.1.el8_9.12.x86_64 ol8_baseos_latest 112.3 kB
 oniguruma-6.8.2-2.1.el8_9.x86_64    ol8_appstream     191.5 kB
 unzip-6.0-46.0.1.el8.x86_64         ol8_baseos_latest 201.0 kB
Transaction Summary:
 Installing:        8 packages
 Reinstalling:      0 packages
 Upgrading:         0 packages
 Obsoleting:        0 packages
 Removing:          0 packages
 Downgrading:       0 packages
Downloading packages...
Running transaction test...
Installing: oniguruma;6.8.2-2.1.el8_9;x86_64;ol8_appstream
Installing: jq;1.6-7.0.3.el8;x86_64;ol8_appstream
Installing: unzip;6.0-46.0.1.el8;x86_64;ol8_baseos_latest
Installing: libnsl;2.28-236.0.1.el8_9.12;x86_64;ol8_baseos_latest
Installing: libaio;0.3.112-1.el8;x86_64;ol8_baseos_latest
Installing: gzip;1.9-13.el8_5;x86_64;ol8_baseos_latest
Installing: findutils;1:4.6.0-21.el8;x86_64;ol8_baseos_latest
Installing: diffutils;3.6-6.el8;x86_64;ol8_baseos_latest
Complete.
Complete.
Removing intermediate container 1dab17b55647
 ---> 920dd42ffc33
Step 5/27 : RUN if [ -z "$(getent group oracle)" ]; then groupadd oracle || exit 1 ; fi  && if [ -z "$(getent group oracle)" ]; then groupadd oracle || exit 1 ; fi  && if [ -z "$(getent passwd oracle)" ]; then useradd -g oracle oracle || exit 1; fi  && mkdir -p /u01  && chown oracle:oracle /u01  && chmod 775 /u01
 ---> Running in 00921092ad33
Removing intermediate container 00921092ad33
 ---> ac64255288f4
Step 6/27 : FROM os_update as jdk_build
 ---> ac64255288f4
Step 7/27 : LABEL com.oracle.weblogic.imagetool.buildid="9cfd0bb5-bd06-4d2b-a6f7-8e72189e4399"
 ---> Running in 6881679cbe63
Removing intermediate container 6881679cbe63
 ---> 6a2113f4ab37
Step 8/27 : ENV JAVA_HOME=/u01/jdk
 ---> Running in 983a97e761ee
Removing intermediate container 983a97e761ee
 ---> 2fe8ba9c53fd
Step 9/27 : COPY --chown=oracle:oracle ["jdk-11.0.20_linux-x64_bin.tar.gz", "/tmp/imagetool/"]
 ---> 9bd3a33a7490
Step 10/27 : USER oracle
 ---> Running in f0d399001938
Removing intermediate container f0d399001938
 ---> 427af35b8902
Step 11/27 : RUN tar xzf "/tmp/imagetool/jdk-11.0.20_linux-x64_bin.tar.gz" -C /u01 && $(test -d /u01/jdk* && mv /u01/jdk* /u01/jdk || mv /u01/graal* /u01/jdk) && rm -rf /tmp/imagetool && rm -f /u01/jdk/javafx-src.zip /u01/jdk/src.zip
 ---> Running in ec25e8b7ade0
Removing intermediate container ec25e8b7ade0
 ---> 5587b1cce14c
Step 12/27 : FROM os_update as wls_build
 ---> ac64255288f4
Step 13/27 : LABEL com.oracle.weblogic.imagetool.buildid="9cfd0bb5-bd06-4d2b-a6f7-8e72189e4399"
 ---> Running in faf1e036737c
Removing intermediate container faf1e036737c
 ---> 3cc009aa1512
Step 14/27 : ENV JAVA_HOME=/u01/jdk ORACLE_HOME=/u01/oracle OPATCH_NO_FUSER=true
 ---> Running in aa65d9085ddb
Removing intermediate container aa65d9085ddb
 ---> 3a28e724d56e
Step 15/27 : RUN mkdir -p /u01/oracle && mkdir -p /u01/oracle/oraInventory && chown oracle:oracle /u01/oracle/oraInventory && chown oracle:oracle /u01/oracle
 ---> Running in 8258da648b5b
Removing intermediate container 8258da648b5b
 ---> 661f9e2fa7d4
Step 16/27 : COPY --from=jdk_build --chown=oracle:oracle /u01/jdk /u01/jdk/
 ---> a6797f5cde62
Step 17/27 : COPY --chown=oracle:oracle fmw_14.1.1.0.0_wls_lite_Disk1_1of1.zip wls.rsp /tmp/imagetool/
 ---> 4f2c87f270f1
Step 18/27 : COPY --chown=oracle:oracle oraInst.loc /u01/oracle/
 ---> ffd17ce51f02
Step 19/27 : USER oracle
 ---> Running in ba9e3dbe3ff3
Removing intermediate container ba9e3dbe3ff3
 ---> 0730641497aa
Step 20/27 : RUN echo "INSTALLING MIDDLEWARE"     && echo "INSTALLING wls"     && unzip -q /tmp/imagetool/fmw_14.1.1.0.0_wls_lite_Disk1_1of1.zip "*.[jb][ai][rn]" -d /tmp/imagetool && /u01/jdk/bin/java -Xmx1024m -jar /tmp/imagetool/fmw_14.1.1.0.0_wls_lite_generic.jar -silent ORACLE_HOME=/u01/oracle     -responseFile /tmp/imagetool/wls.rsp -invPtrLoc /u01/oracle/oraInst.loc -ignoreSysPrereqs -force -novalidation   && test $? -eq 0 && chmod -R g+r /u01/oracle || (grep -vh "NOTIFICATION" /tmp/OraInstall*/install*.log && exit 1)
 ---> Running in e4466a9d0b0a
INSTALLING MIDDLEWARE
INSTALLING wls
Launcher log file is /tmp/OraInstall2024-04-03_06-46-13PM/launcher2024-04-03_06-46-13PM.log.
Extracting the installer . . . . . Done
Checking if CPU speed is above 300 MHz.   Actual 2399.716 MHz    Passed
Checking swap space: must be greater than 512 MB.   Actual 8191 MB    Passed
Checking temp space: must be greater than 300 MB.   Actual 76052 MB    Passed
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2024-04-03_06-46-13PM
Log: /tmp/OraInstall2024-04-03_06-46-13PM/install2024-04-03_06-46-13PM.log
Setting ORACLE_HOME...
Copyright (c) 1996, 2020, Oracle and/or its affiliates. All rights reserved.
Reading response file..
Skipping Software Updates
Validations are disabled for this session.
Verifying data
Copying Files
Percent Complete : 10
Percent Complete : 20
Percent Complete : 30
Percent Complete : 40
Percent Complete : 50
Percent Complete : 60
Percent Complete : 70
Percent Complete : 80
Percent Complete : 90
Percent Complete : 100

The installation of Oracle Fusion Middleware 14.1.1 WebLogic Server and Coherence 14.1.1.0.0 completed successfully.
Logs successfully copied to /u01/oracle/oraInventory/logs.
Removing intermediate container e4466a9d0b0a
 ---> df300afc2fdb
Step 21/27 : FROM os_update as final_build
 ---> ac64255288f4
Step 22/27 : ENV ORACLE_HOME=/u01/oracle     LD_LIBRARY_PATH=/u01/oracle/oracle_common/adr:$LD_LIBRARY_PATH     JAVA_HOME=/u01/jdk     PATH=${PATH}:/u01/jdk/bin:/u01/oracle/oracle_common/common/bin:/u01/oracle/wlserver/common/bin:/u01/oracle
 ---> Running in 9b5cf310a026
Removing intermediate container 9b5cf310a026
 ---> 47585734f7b6
Step 23/27 : LABEL com.oracle.weblogic.imagetool.buildid="9cfd0bb5-bd06-4d2b-a6f7-8e72189e4399"
 ---> Running in b2e9ce86d3df
Removing intermediate container b2e9ce86d3df
 ---> 65384eb84c30
Step 24/27 : COPY --from=jdk_build --chown=oracle:oracle /u01/jdk /u01/jdk/
 ---> 918964a34393
Step 25/27 : COPY --from=wls_build --chown=oracle:oracle /u01/oracle /u01/oracle/
 ---> de7b4872c9ce
Step 26/27 : USER oracle
 ---> Running in e9d9f9530a40
Removing intermediate container e9d9f9530a40
 ---> 8a747fa87429
Step 27/27 : WORKDIR /u01/oracle
 ---> Running in 731cee3f8443
Removing intermediate container 731cee3f8443
 ---> adf15fbcf8b9
Successfully built adf15fbcf8b9
Successfully tagged wls:14.1.1.0.0
[INFO   ] Build successful. Build time=145s. Image tag=wls:14.1.1.0.0
dave@dave:/git/weblogic/wit$ docker images
REPOSITORY                                                TAG                   IMAGE ID       CREATED         SIZE
wls                                                       14.1.1.0.0            adf15fbcf8b9   8 seconds ago   1.26GB

Inspect image
$ imagetool.sh inspect --image wls:14.1.1.0.0
[INFO   ] Inspecting wls:14.1.1.0.0, this may take a few minutes if the image is not available locally.
{
  "os" : {
    "id" : "ol",
    "name" : "Oracle Linux Server",
    "version" : "8.9",
    "releasePackage" : "oraclelinux-release-8.9-1.0.8.el8.x86_64"
  },
  "javaHome" : "/u01/jdk",
  "javaVersion" : "11.0.20",
  "oracleHome" : "/u01/oracle",
  "oracleHomeGroup" : "oracle",
  "oracleHomeUser" : "oracle",
  "oracleInstalledProducts" : "WLS,COH,TOPLINK",
  "packageManager" : "MICRODNF",
  "wlsVersion" : "14.1.1.0.0"
}

Create an image with a WLS domain using WDT 

- deprecated - use auxiliary images https://oracle.github.io/weblogic-kubernetes-operator/managing-domains/model-in-image/auxiliary-images/ 


Add WDT into cache
$ imagetool.sh cache addInstaller --type wdt --version 0.22 --path weblogic-deploy.zip 
[INFO   ] Successfully added to cache. wdt_0.22=/git/weblogic/wit/weblogic-deploy.zip


Create domain image 



  • WDT archive created via WDT discover
$ unzip -l /git/weblogic/wdt/DiscoveredABDataSourceEARDomain.zip
Archive:  /git/weblogic/wdt/DiscoveredABDataSourceEARDomain.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
    22119  04-01-2024 22:51   wlsdeploy/applications/basicWebapp.war
---------                     -------
    22119                     1 file

Run imagetool
$ imagetool.sh create --fromImage ghcr.io/oracle/oraclelinux:8-slim --tag wls:14.1.1.1.1  --version 14.1.1.0.0   --wdtDomainHome /u01/domains/simple_domain --jdkVersion 11u020  --wdtVersion 0.22  --wdtModel /git/weblogic/wdt/DiscoveredABDataSourceEARDomain.yaml  --wdtArchive /git/weblogic/wdt/DiscoveredABDataSourceEARDomain.zip
[INFO   ] WebLogic Image Tool version 1.12.2
[INFO   ] Image Tool build ID: 71107d65-7898-4f31-a595-7e86581f655f
[INFO   ] User specified fromImage ghcr.io/oracle/oraclelinux:8-slim
[INFO   ] Temporary directory used for image build context: /home/dave/wlsimgbuilder_temp2063144469653345589
[INFO   ] Inspecting ghcr.io/oracle/oraclelinux:8-slim, this may take a few minutes if the image is not available locally.
[INFO   ] Copying /git/weblogic/wit/jdk-11.0.20_linux-x64_bin.tar.gz to build context folder.
[INFO   ] Using middleware installers (wls) version 14.1.1.0.0
[INFO   ] Copying /git/weblogic/wit/fmw_14.1.1.0.0_wls_lite_Disk1_1of1.zip to build context folder.
[INFO   ] Copying /git/weblogic/wdt/DiscoveredABDataSourceEARDomain.yaml to build context folder.
[INFO   ] Copying /git/weblogic/wdt/DiscoveredABDataSourceEARDomain.zip to build context folder.
[INFO   ] Copying /git/weblogic/wit/weblogic-deploy.zip to build context folder.
[INFO   ] Starting build: docker build --no-cache --force-rm --tag wls:14.1.1.1.1 /home/dave/wlsimgbuilder_temp2063144469653345589
Sending build context to Docker daemon  810.2MB

Step 1/40 : FROM ghcr.io/oracle/oraclelinux:8-slim as os_update
 ---> b1ef7cdd2820
Step 2/40 : LABEL com.oracle.weblogic.imagetool.buildid="71107d65-7898-4f31-a595-7e86581f655f"
 ---> Running in 64913c2394ad
Removing intermediate container 64913c2394ad
 ---> e48c0c520d08
Step 3/40 : USER root
 ---> Running in 7b1f23d53b00
Removing intermediate container 7b1f23d53b00
 ---> d41ffb175ad4
Step 4/40 : RUN microdnf update     && microdnf install gzip tar unzip libaio libnsl jq findutils diffutils shadow-utils     && microdnf clean all
 ---> Running in e9997be5c471
Downloading metadata...
Downloading metadata...
Package                                                      Repository           Size
Installing:                                                                           
 glibc-gconv-extra-2.28-236.0.1.el8_9.12.x86_64              ol8_baseos_latest  1.6 MB
Upgrading:                                                                            
 glibc-2.28-236.0.1.el8_9.12.x86_64                          ol8_baseos_latest  2.3 MB
  replacing glibc-2.28-236.0.1.el8.7.x86_64                                           
 glibc-common-2.28-236.0.1.el8_9.12.x86_64                   ol8_baseos_latest  1.1 MB
  replacing glibc-common-2.28-236.0.1.el8.7.x86_64                                    
 glibc-minimal-langpack-2.28-236.0.1.el8_9.12.x86_64         ol8_baseos_latest 71.1 kB
  replacing glibc-minimal-langpack-2.28-236.0.1.el8.7.x86_64                          
 systemd-libs-239-78.0.4.el8.x86_64                          ol8_baseos_latest  1.2 MB
   replacing systemd-libs-239-78.0.3.el8.x86_64                                       
Transaction Summary:
 Installing:        1 packages
 Reinstalling:      0 packages
 Upgrading:         4 packages
 Obsoleting:        0 packages
 Removing:          0 packages
 Downgrading:       0 packages
Downloading packages...
Running transaction test...
Updating: glibc-common;2.28-236.0.1.el8_9.12;x86_64;ol8_baseos_latest
Updating: glibc-minimal-langpack;2.28-236.0.1.el8_9.12;x86_64;ol8_baseos_latest
Updating: glibc;2.28-236.0.1.el8_9.12;x86_64;ol8_baseos_latest
Installing: glibc-gconv-extra;2.28-236.0.1.el8_9.12;x86_64;ol8_baseos_latest
Updating: systemd-libs;239-78.0.4.el8;x86_64;ol8_baseos_latest
Cleanup: systemd-libs;239-78.0.3.el8;x86_64;installed
Cleanup: glibc;2.28-236.0.1.el8.7;x86_64;installed
Cleanup: glibc-minimal-langpack;2.28-236.0.1.el8.7;x86_64;installed
Cleanup: glibc-common;2.28-236.0.1.el8.7;x86_64;installed
Complete.
Package                              Repository            Size
Installing:                                                    
 diffutils-3.6-6.el8.x86_64          ol8_baseos_latest 369.3 kB
 findutils-1:4.6.0-21.el8.x86_64     ol8_baseos_latest 539.8 kB
 gzip-1.9-13.el8_5.x86_64            ol8_baseos_latest 170.7 kB
 jq-1.6-7.0.3.el8.x86_64             ol8_appstream     206.5 kB
 libaio-0.3.112-1.el8.x86_64         ol8_baseos_latest  33.4 kB
 libnsl-2.28-236.0.1.el8_9.12.x86_64 ol8_baseos_latest 112.3 kB
 oniguruma-6.8.2-2.1.el8_9.x86_64    ol8_appstream     191.5 kB
 unzip-6.0-46.0.1.el8.x86_64         ol8_baseos_latest 201.0 kB
Transaction Summary:
 Installing:        8 packages
 Reinstalling:      0 packages
 Upgrading:         0 packages
 Obsoleting:        0 packages
 Removing:          0 packages
 Downgrading:       0 packages
Downloading packages...
Running transaction test...
Installing: oniguruma;6.8.2-2.1.el8_9;x86_64;ol8_appstream
Installing: jq;1.6-7.0.3.el8;x86_64;ol8_appstream
Installing: unzip;6.0-46.0.1.el8;x86_64;ol8_baseos_latest
Installing: libnsl;2.28-236.0.1.el8_9.12;x86_64;ol8_baseos_latest
Installing: libaio;0.3.112-1.el8;x86_64;ol8_baseos_latest
Installing: gzip;1.9-13.el8_5;x86_64;ol8_baseos_latest
Installing: findutils;1:4.6.0-21.el8;x86_64;ol8_baseos_latest
Installing: diffutils;3.6-6.el8;x86_64;ol8_baseos_latest
Complete.
Complete.
Removing intermediate container e9997be5c471
 ---> 3e2aa0097ed3
Step 5/40 : RUN if [ -z "$(getent group oracle)" ]; then groupadd oracle || exit 1 ; fi  && if [ -z "$(getent group oracle)" ]; then groupadd oracle || exit 1 ; fi  && if [ -z "$(getent passwd oracle)" ]; then useradd -g oracle oracle || exit 1; fi  && mkdir -p /u01  && chown oracle:oracle /u01  && chmod 775 /u01
 ---> Running in 76b2939d72b0
Removing intermediate container 76b2939d72b0
 ---> 4db70353fbf5
Step 6/40 : FROM os_update as jdk_build
 ---> 4db70353fbf5
Step 7/40 : LABEL com.oracle.weblogic.imagetool.buildid="71107d65-7898-4f31-a595-7e86581f655f"
 ---> Running in 6fb4cecfc6be
Removing intermediate container 6fb4cecfc6be
 ---> 5d9ceb4928c0
Step 8/40 : ENV JAVA_HOME=/u01/jdk
 ---> Running in b6056e93a572
Removing intermediate container b6056e93a572
 ---> b0308e763043
Step 9/40 : COPY --chown=oracle:oracle ["jdk-11.0.20_linux-x64_bin.tar.gz", "/tmp/imagetool/"]
 ---> f07b5d9a5782
Step 10/40 : USER oracle
 ---> Running in b75a9206a29a
Removing intermediate container b75a9206a29a
 ---> a7f45025c54d
Step 11/40 : RUN tar xzf "/tmp/imagetool/jdk-11.0.20_linux-x64_bin.tar.gz" -C /u01 && $(test -d /u01/jdk* && mv /u01/jdk* /u01/jdk || mv /u01/graal* /u01/jdk) && rm -rf /tmp/imagetool && rm -f /u01/jdk/javafx-src.zip /u01/jdk/src.zip
 ---> Running in 7fe1203420be
Removing intermediate container 7fe1203420be
 ---> c3ed51229c1a
Step 12/40 : FROM os_update as wls_build
 ---> 4db70353fbf5
Step 13/40 : LABEL com.oracle.weblogic.imagetool.buildid="71107d65-7898-4f31-a595-7e86581f655f"
 ---> Running in 8bb593091330
Removing intermediate container 8bb593091330
 ---> 9b8cfbb51190
Step 14/40 : ENV JAVA_HOME=/u01/jdk ORACLE_HOME=/u01/oracle OPATCH_NO_FUSER=true
 ---> Running in bacc2eaf949a
Removing intermediate container bacc2eaf949a
 ---> b8a3dc900906
Step 15/40 : RUN mkdir -p /u01/oracle && mkdir -p /u01/oracle/oraInventory && chown oracle:oracle /u01/oracle/oraInventory && chown oracle:oracle /u01/oracle
 ---> Running in 98741d40596d
Removing intermediate container 98741d40596d
 ---> db58e3011e92
Step 16/40 : COPY --from=jdk_build --chown=oracle:oracle /u01/jdk /u01/jdk/
 ---> 3a1ab28183d3
Step 17/40 : COPY --chown=oracle:oracle fmw_14.1.1.0.0_wls_lite_Disk1_1of1.zip wls.rsp /tmp/imagetool/
 ---> 9b4415afdc2f
Step 18/40 : COPY --chown=oracle:oracle oraInst.loc /u01/oracle/
 ---> e94f75e4b27b
Step 19/40 : USER oracle
 ---> Running in 1b42950d779f
Removing intermediate container 1b42950d779f
 ---> 7c42385daa83
Step 20/40 : RUN echo "INSTALLING MIDDLEWARE"     && echo "INSTALLING wls"     && unzip -q /tmp/imagetool/fmw_14.1.1.0.0_wls_lite_Disk1_1of1.zip "*.[jb][ai][rn]" -d /tmp/imagetool && /u01/jdk/bin/java -Xmx1024m -jar /tmp/imagetool/fmw_14.1.1.0.0_wls_lite_generic.jar -silent ORACLE_HOME=/u01/oracle     -responseFile /tmp/imagetool/wls.rsp -invPtrLoc /u01/oracle/oraInst.loc -ignoreSysPrereqs -force -novalidation   && test $? -eq 0 && chmod -R g+r /u01/oracle || (grep -vh "NOTIFICATION" /tmp/OraInstall*/install*.log && exit 1)
 ---> Running in e307551d5bb2
INSTALLING MIDDLEWARE
INSTALLING wls
Launcher log file is /tmp/OraInstall2024-04-03_07-31-23PM/launcher2024-04-03_07-31-23PM.log.
Extracting the installer . . . . . Done
Checking if CPU speed is above 300 MHz.   Actual 2583.240 MHz    Passed
Checking swap space: must be greater than 512 MB.   Actual 8191 MB    Passed
Checking temp space: must be greater than 300 MB.   Actual 74508 MB    Passed
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2024-04-03_07-31-23PM
Log: /tmp/OraInstall2024-04-03_07-31-23PM/install2024-04-03_07-31-23PM.log
Setting ORACLE_HOME...
Copyright (c) 1996, 2020, Oracle and/or its affiliates. All rights reserved.
Reading response file..
Skipping Software Updates
Validations are disabled for this session.
Verifying data
Copying Files
Percent Complete : 10
Percent Complete : 20
Percent Complete : 30
Percent Complete : 40
Percent Complete : 50
Percent Complete : 60
Percent Complete : 70
Percent Complete : 80
Percent Complete : 90
Percent Complete : 100

The installation of Oracle Fusion Middleware 14.1.1 WebLogic Server and Coherence 14.1.1.0.0 completed successfully.
Logs successfully copied to /u01/oracle/oraInventory/logs.
Removing intermediate container e307551d5bb2
 ---> 1d878efb5a30
Step 21/40 : FROM wls_build as wdt_build
 ---> 1d878efb5a30
Step 22/40 : LABEL com.oracle.weblogic.imagetool.buildid="71107d65-7898-4f31-a595-7e86581f655f"
 ---> Running in 59171485ab53
Removing intermediate container 59171485ab53
 ---> d57a4b317c6e
Step 23/40 : ENV WLSDEPLOY_PROPERTIES=" -Djava.security.egd=file:/dev/./urandom" DOMAIN_HOME=/u01/domains/simple_domain
 ---> Running in 391bdeba5aa4
Removing intermediate container 391bdeba5aa4
 ---> d21d2c4ecf86
Step 24/40 : COPY --chown=oracle:oracle weblogic-deploy.zip /tmp/imagetool/
 ---> 1b54c9d8ad7b
Step 25/40 : USER root
 ---> Running in b294bb02241d
Removing intermediate container b294bb02241d
 ---> 829720897376
Step 26/40 : RUN mkdir -p /u01/wdt && chown oracle:oracle /u01/wdt
 ---> Running in 85d9a1633746
Removing intermediate container 85d9a1633746
 ---> baafc419cd36
Step 27/40 : USER oracle
 ---> Running in f1fb65009687
Removing intermediate container f1fb65009687
 ---> 452d9efbe756
Step 28/40 : RUN cd /u01/wdt && mkdir -p /u01/wdt/models && mkdir -p $(dirname /u01/domains/simple_domain)
 ---> Running in fbbb9d42fb3d
Removing intermediate container fbbb9d42fb3d
 ---> 53454300205a
Step 29/40 : COPY --chown=oracle:oracle ["DiscoveredABDataSourceEARDomain.yaml", "/u01/wdt/models/"]
 ---> a14aa616a21e
Step 30/40 : COPY --chown=oracle:oracle ["DiscoveredABDataSourceEARDomain.zip", "/u01/wdt/models/"]
 ---> abff8757ba8b
Step 31/40 : RUN test -d /u01/wdt/weblogic-deploy && rm -rf /u01/wdt/weblogic-deploy || echo Initial WDT install   && unzip -q /tmp/imagetool/weblogic-deploy.zip -d /u01/wdt
 ---> Running in a9467d64f8ce
Initial WDT install
Removing intermediate container a9467d64f8ce
 ---> 3f8bd1b2c87a
Step 32/40 : RUN cd /u01/wdt/weblogic-deploy/bin     &&  ./createDomain.sh     -oracle_home /u01/oracle     -domain_home /u01/domains/simple_domain     -domain_type WLS      -model_file /u01/wdt/models/DiscoveredABDataSourceEARDomain.yaml -archive_file /u01/wdt/models/DiscoveredABDataSourceEARDomain.zip
 ---> Running in 324177a4bdf7
JDK version is 11.0.20+9-LTS-256
JAVA_HOME = /u01/jdk
WLST_EXT_CLASSPATH = /u01/wdt/weblogic-deploy/lib/weblogic-deploy-core.jar
CLASSPATH = /u01/wdt/weblogic-deploy/lib/weblogic-deploy-core.jar
WLST_PROPERTIES = -Dcom.oracle.cie.script.throwException=true -Djava.util.logging.config.class=oracle.weblogic.deploy.logging.WLSDeployLoggingConfig  -Djava.security.egd=file:/dev/./urandom
/u01/oracle/oracle_common/common/bin/wlst.sh /u01/wdt/weblogic-deploy/lib/python/create.py -oracle_home /u01/oracle -domain_home /u01/domains/simple_domain -domain_type WLS -model_file /u01/wdt/models/DiscoveredABDataSourceEARDomain.yaml -archive_file /u01/wdt/models/DiscoveredABDataSourceEARDomain.zip

Initializing WebLogic Scripting Tool (WLST) ...

Jython scans all the jar files it can find at first startup. Depending on the system, this process may take a few minutes to complete, and WLST may not return a prompt right away.

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

####<Apr 3, 2024 7:32:46 PM> <INFO> <WebLogicDeployToolingVersion> <logVersionInfo> <WLSDPLY-01750> <The WebLogic Deploy Tooling createDomain version is 3.5.4:.43d3afb:Mar 14, 2024 11:55 UTC>
####<Apr 3, 2024 7:32:46 PM> <INFO> <WLSDeployLoggingConfig> <logLoggingDirectory> <WLSDPLY-01755> <The createDomain program will write its log to directory /u01/wdt/weblogic-deploy/logs>
####<Apr 3, 2024 7:32:46 PM> <INFO> <DomainTypedef> <__init__> <WLSDPLY-12328> <Domain type WLS type definition file /u01/wdt/weblogic-deploy/lib/typedefs/WLS.json version WLS_14 does not contain a postCreateRcuSchemasScript section>
####<Apr 3, 2024 7:32:46 PM> <INFO> <DomainTypedef> <__init__> <WLSDPLY-12321> <Domain type WLS type definition file /u01/wdt/weblogic-deploy/lib/typedefs/WLS.json version WLS_14 does not contain a postCreateDomainScript section>
####<Apr 3, 2024 7:32:46 PM> <INFO> <DomainTypedef> <__init__> <WLSDPLY-12328> <Domain type WLS type definition file /u01/wdt/weblogic-deploy/lib/typedefs/WLS.json version WLS_14 does not contain a postCreateRcuSchemasScript section>
####<Apr 3, 2024 7:32:46 PM> <INFO> <DomainTypedef> <__init__> <WLSDPLY-12321> <Domain type WLS type definition file /u01/wdt/weblogic-deploy/lib/typedefs/WLS.json version WLS_14 does not contain a postCreateDomainScript section>
####<Apr 3, 2024 7:32:46 PM> <INFO> <ModelContext> <__copy_from_args> <WLSDPLY-01050> <WebLogic version for aliases is 14.1.1.0.0>
####<Apr 3, 2024 7:32:47 PM> <INFO> <filter_helper> <apply_filters> <WLSDPLY-20017> <No filter configuration file /u01/wdt/weblogic-deploy/lib/model_filters.json>
####<Apr 3, 2024 7:32:47 PM> <INFO> <filter_helper> <apply_filters> <WLSDPLY-20016> <No filters of type create found in filter configuration file /u01/wdt/weblogic-deploy/lib/model_filters.json>
####<Apr 3, 2024 7:32:47 PM> <INFO> <Validator> <__validate_model_file> <WLSDPLY-05002> <Performing validation in TOOL mode for WebLogic Server version 14.1.1.0.0 and WLST OFFLINE mode>
####<Apr 3, 2024 7:32:47 PM> <INFO> <Validator> <__validate_model_file> <WLSDPLY-05003> <Performing model validation on the /u01/wdt/models/DiscoveredABDataSourceEARDomain.yaml model file>
####<Apr 3, 2024 7:32:47 PM> <INFO> <Validator> <__validate_model_file> <WLSDPLY-05005> <Performing archive validation on the /u01/wdt/models/DiscoveredABDataSourceEARDomain.zip archive file>
####<Apr 3, 2024 7:32:47 PM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05008> <Validating the domainInfo section of the model file>
####<Apr 3, 2024 7:32:47 PM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05008> <Validating the topology section of the model file>
####<Apr 3, 2024 7:32:47 PM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05008> <Validating the resources section of the model file>
####<Apr 3, 2024 7:32:48 PM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05008> <Validating the appDeployments section of the model file>
####<Apr 3, 2024 7:32:48 PM> <INFO> <DomainCreator> <__create_domain> <WLSDPLY-12203> <Creating domain of type WLS>
####<Apr 3, 2024 7:32:48 PM> <INFO> <DomainCreator> <__create_base_domain_with_select_template> <WLSDPLY-12210> <Selecting base template named Basic WebLogic Server Domain>
####<Apr 3, 2024 7:32:49 PM> <INFO> <DomainCreator> <__extend_domain_with_select_template> <WLSDPLY-12212> <Loading selected templates>
####<Apr 3, 2024 7:32:51 PM> <INFO> <TopologyHelper> <create_placeholder_named_elements> <WLSDPLY-19403> <Creating placeholder for JDBCSystemResource JDBC-Data-Source-Oracle>
####<Apr 3, 2024 7:32:51 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12100> <Creating Machine with the name machineA>
####<Apr 3, 2024 7:32:51 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12100> <Creating Machine with the name machineB>
####<Apr 3, 2024 7:32:51 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12100> <Creating Cluster with the name ClusterA>
####<Apr 3, 2024 7:32:51 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12100> <Creating Cluster with the name ClusterB>
####<Apr 3, 2024 7:32:51 PM> <INFO> <TopologyHelper> <create_placeholder_named_elements> <WLSDPLY-19403> <Creating placeholder for Server ManagedServerA1>
####<Apr 3, 2024 7:32:51 PM> <INFO> <TopologyHelper> <create_placeholder_named_elements> <WLSDPLY-19403> <Creating placeholder for Server ManagedServerA2>
####<Apr 3, 2024 7:32:51 PM> <INFO> <TopologyHelper> <create_placeholder_named_elements> <WLSDPLY-19403> <Creating placeholder for Server ManagedServerB1>
####<Apr 3, 2024 7:32:52 PM> <INFO> <TopologyHelper> <create_placeholder_named_elements> <WLSDPLY-19403> <Creating placeholder for Server ManagedServerB2>
####<Apr 3, 2024 7:32:52 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12101> <Updating Server with the name AdminServer>
####<Apr 3, 2024 7:32:52 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12101> <Updating Server with the name ManagedServerA1>
####<Apr 3, 2024 7:32:52 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12101> <Updating Server with the name ManagedServerA2>
####<Apr 3, 2024 7:32:52 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12101> <Updating Server with the name ManagedServerB1>
####<Apr 3, 2024 7:32:52 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12101> <Updating Server with the name ManagedServerB2>
####<Apr 3, 2024 7:32:53 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12100> <Creating MigratableTarget with the name ManagedServerA1 (migratable)>
####<Apr 3, 2024 7:32:53 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12100> <Creating MigratableTarget with the name ManagedServerA2 (migratable)>
####<Apr 3, 2024 7:32:53 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12100> <Creating MigratableTarget with the name ManagedServerB1 (migratable)>
####<Apr 3, 2024 7:32:53 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12100> <Creating MigratableTarget with the name ManagedServerB2 (migratable)>
####<Apr 3, 2024 7:32:53 PM> <INFO> <TopologyHelper> <clear_jdbc_placeholder_targeting> <WLSDPLY-19404> <Clearing targets for JDBCSystemResource placeholder JDBC-Data-Source-Oracle>
####<Apr 3, 2024 7:32:53 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12101> <Updating Machine with the name machineA>
####<Apr 3, 2024 7:32:53 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12101> <Updating Machine with the name machineB>
####<Apr 3, 2024 7:32:53 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12101> <Updating Cluster with the name ClusterA>
####<Apr 3, 2024 7:32:53 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12101> <Updating Cluster with the name ClusterB>
####<Apr 3, 2024 7:32:53 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12101> <Updating Server with the name AdminServer>
####<Apr 3, 2024 7:32:53 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12101> <Updating Server with the name ManagedServerA1>
####<Apr 3, 2024 7:32:53 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12101> <Updating Server with the name ManagedServerA2>
####<Apr 3, 2024 7:32:54 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12101> <Updating Server with the name ManagedServerB1>
####<Apr 3, 2024 7:32:54 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12101> <Updating Server with the name ManagedServerB2>
####<Apr 3, 2024 7:32:54 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12101> <Updating MigratableTarget with the name ManagedServerA1 (migratable)>
####<Apr 3, 2024 7:32:54 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12101> <Updating MigratableTarget with the name ManagedServerA2 (migratable)>
####<Apr 3, 2024 7:32:54 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12101> <Updating MigratableTarget with the name ManagedServerB1 (migratable)>
####<Apr 3, 2024 7:32:54 PM> <INFO> <Creator> <_create_named_mbeans> <WLSDPLY-12101> <Updating MigratableTarget with the name ManagedServerB2 (migratable)>
####<Apr 3, 2024 7:32:54 PM> <INFO> <DomainCreator> <__extend_domain_with_select_template> <WLSDPLY-12205> <Writing base domain base_domain to directory /u01/domains/simple_domain>
####<Apr 3, 2024 7:32:57 PM> <INFO> <DomainCreator> <__extend_domain_with_select_template> <WLSDPLY-12206> <Closing templates for domain base_domain>
####<Apr 3, 2024 7:32:57 PM> <INFO> <DefaultAuthenticatorHelper> <create_default_init_file> <WLSDPLY-01900> <Updating default authenticator initialization file /u01/domains/simple_domain/security/DefaultAuthenticatorInit.ldift>
####<Apr 3, 2024 7:32:57 PM> <INFO> <LibraryHelper> <install_domain_libraries> <WLSDPLY-12213> <The model did not specify any domain libraries to install>
####<Apr 3, 2024 7:32:57 PM> <INFO> <LibraryHelper> <extract_classpath_libraries> <WLSDPLY-12218> <The archive file /u01/wdt/models/DiscoveredABDataSourceEARDomain.zip contains no classpath libraries to install>
####<Apr 3, 2024 7:32:57 PM> <INFO> <LibraryHelper> <install_domain_scripts> <WLSDPLY-12241> <The model did not specify any domain scripts to install>
####<Apr 3, 2024 7:32:57 PM> <INFO> <Creator> <_create_mbean> <WLSDPLY-20013> <Updating SecurityConfiguration>
####<Apr 3, 2024 7:32:57 PM> <INFO> <DatasourceDeployer> <_add_named_elements> <WLSDPLY-09608> <Updating JDBCSystemResource JDBC-Data-Source-Oracle>
####<Apr 3, 2024 7:32:57 PM> <INFO> <DatasourceDeployer> <_add_model_elements> <WLSDPLY-09604> <Updating JdbcResource for JDBCSystemResource JDBC-Data-Source-Oracle>
####<Apr 3, 2024 7:32:57 PM> <INFO> <DatasourceDeployer> <_add_model_elements> <WLSDPLY-09601> <Adding JDBCConnectionPoolParams to JdbcResource>
####<Apr 3, 2024 7:32:57 PM> <INFO> <DatasourceDeployer> <_add_model_elements> <WLSDPLY-09601> <Adding JDBCDataSourceParams to JdbcResource>
####<Apr 3, 2024 7:32:58 PM> <INFO> <DatasourceDeployer> <_add_model_elements> <WLSDPLY-09601> <Adding JDBCDriverParams to JdbcResource>
####<Apr 3, 2024 7:32:58 PM> <INFO> <DatasourceDeployer> <_add_named_elements> <WLSDPLY-09606> <Adding Properties user to JDBCDriverParams>
####<Apr 3, 2024 7:32:58 PM> <INFO> <ApplicationDeployer> <__add_applications> <WLSDPLY-09301> <Adding Application basicWebapp to Domain simple_domain>

Issue Log for createDomain version 3.5.4 running WebLogic version 14.1.1.0.0 offline mode:

Total:   SEVERE :    0  WARNING :    0

createDomain.sh completed successfully (exit code = 0)
Removing intermediate container 324177a4bdf7
 ---> d8743ead9fd4
Step 33/40 : FROM os_update as final_build
 ---> 4db70353fbf5
Step 34/40 : ENV ORACLE_HOME=/u01/oracle     LD_LIBRARY_PATH=/u01/oracle/oracle_common/adr:$LD_LIBRARY_PATH     JAVA_HOME=/u01/jdk     DOMAIN_HOME=/u01/domains/simple_domain     WDT_HOME=/u01/wdt     PATH=${PATH}:/u01/jdk/bin:/u01/oracle/oracle_common/common/bin:/u01/oracle/wlserver/common/bin:/u01/oracle:/u01/domains/simple_domain/bin
 ---> Running in 7fc9a81345d3
Removing intermediate container 7fc9a81345d3
 ---> 006dcc8d44c3
Step 35/40 : LABEL com.oracle.weblogic.imagetool.buildid="71107d65-7898-4f31-a595-7e86581f655f"
 ---> Running in 1b531655368b
Removing intermediate container 1b531655368b
 ---> af98be131cb2
Step 36/40 : COPY --from=jdk_build --chown=oracle:oracle /u01/jdk /u01/jdk/
 ---> fb648de5cd73
Step 37/40 : COPY --from=wls_build --chown=oracle:oracle /u01/oracle /u01/oracle/
 ---> 94dd2578579c
Step 38/40 : COPY --from=wdt_build --chown=oracle:oracle /u01/domains/simple_domain /u01/domains/simple_domain/
 ---> 78c2e0f481c8
Step 39/40 : USER oracle
 ---> Running in b9fcda9acd00
Removing intermediate container b9fcda9acd00
 ---> 306796a85c89
Step 40/40 : WORKDIR /u01/domains/simple_domain
 ---> Running in b25cd1ddcef0
Removing intermediate container b25cd1ddcef0
 ---> 07d91172a6ab
Successfully built 07d91172a6ab
Successfully tagged wls:14.1.1.1.1
[INFO   ] Build successful. Build time=199s. Image tag=wls:14.1.1.1.1

List files in created Docker image
List files in created Docker image 

$   docker run -it --rm wls:14.1.1.1.1 find /u01 -type d -maxdepth 2
/u01
/u01/jdk
/u01/jdk/bin
/u01/jdk/conf
/u01/jdk/include
/u01/jdk/jmods
/u01/jdk/legal
/u01/jdk/lib
/u01/jdk/man
/u01/oracle
/u01/oracle/OPatch
/u01/oracle/coherence
/u01/oracle/inventory
/u01/oracle/oraInventory
/u01/oracle/oracle_common
/u01/oracle/oui
/u01/oracle/wlserver
/u01/domains
/u01/domains/simple_domain


Image tool options

 Usage: imagetool create [OPTIONS]

Build WebLogic docker image

      --additionalBuildCommands=<additionalBuildCommandsPath>

                             path to a file with additional build commands.

      --additionalBuildFiles=<additionalBuildFiles>[,<additionalBuildFiles>...]

                             comma separated list of files that should be

                               copied to the build context folder.

  -b, --builder=<buildEngine>

                             Executable to process the Dockerfile. Use the full

                               path of the executable if not on your path.

                               Defaults to 'docker', or, when set, to the value

                               in environment variable WLSIMG_BUILDER.

      --build-arg=<String=String>

                             Additional argument passed directly to the build

                               engine.

      --buildNetwork=<networking mode>

                             Set the networking mode for the RUN instructions

                               during build.

      --chown=<owner:group>  owner and groupid to be used for files copied into

                               the image. Default: oracle:oracle

      --dryRun               Skip image build execution and print Dockerfile to

                               stdout.

      --fromImage=<image name>

                             Docker image to use as base image.  Default: ghcr.

                               io/oracle/oraclelinux:8-slim

      --httpProxyUrl=<HTTP proxy URL>

                             proxy for http protocol. Ex: http://myproxy:80 or

                               http://user:passwd@myproxy:8080

      --httpsProxyUrl=<HTTPS proxy URL>

                             proxy for https protocol. Ex: http://myproxy:80 or

                               http://user:passwd@myproxy:8080

      --installerResponseFile=<installerResponseFiles>[,

        <installerResponseFiles>...]

                             path to a response file. Override the default

                               responses for the Oracle installer

      --inventoryPointerFile=<inventoryPointerFile>

                             path to a user provided inventory pointer file as

                               input

      --inventoryPointerInstallLoc=<inventoryPointerInstallLoc>

                             path to where the inventory pointer file (oraInst.

                               loc) should be stored in the image

      --jdkVersion=<jdkVersion>

                             Version of server jdk to install. Default: 8u202

      --latestPSU            Whether to apply patches from latest PSU.

      --opatchBugNumber=<opatchBugNumber>

                             the patch number for OPatch (patching OPatch)

      --packageManager=<package manager>

                             Override the detected package manager for

                               installing OS packages.

      --password[=<support password>]

                             Enter password for Oracle Support userId on STDIN

      --passwordEnv=<environment variable>

                             environment variable containing the support

                               password

      --passwordFile=<password file>

                             path to file containing just the password

      --patches=patchId[,patchId...]

                             Comma separated patch Ids. Ex: 12345678,87654321

      --pull                 Always attempt to pull a newer version of base

                               images during the build.

      --recommendedPatches   Whether to apply recommended patches from latest

                               PSU.

      --skipcleanup          Do not delete the build context folder,

                               intermediate images, and failed build containers.

      --skipOpatchUpdate     Do not update OPatch version, even if a newer

                               version is available.

      --strictPatchOrdering  Use OPatch to apply patches one at a time.

*     --tag=<image tag>      Tag for the final build image. Ex:

                               container-registry.oracle.

                               com/middleware/weblogic:12.2.1.4

      --target=<kubernetesTarget>

                             Apply settings appropriate to the target

                               environment.  Default: Default.  Supported

                               values: Default, OpenShift.

      --type=<installerType> Installer type. Default: WLS. Supported values:

                               WLS, WLSSLIM, WLSDEV, FMW, OSB, SOA, SOA_OSB,

                               SOA_OSB_B2B, MFT, IDM, IDM_WLS, OAM, OIG, OUD,

                               OUD_WLS, OID, WCC, WCP, WCS, OHS, ODI

      --user=<support email> Oracle Support email id

      --version=<installerVersion>

                             Installer version. Default: 12.2.1.3.0

WDT Options

      --resourceTemplates=<resourceTemplates>[,<resourceTemplates>...]

                             Resolve variables in the resource template(s) with

                               information from the image tool build.

      --wdtArchive=<wdtArchivePath>

                             A WDT archive zip file, if needed (or

                               comma-separated list of files).

      --wdtDomainHome=<wdtDomainHome>

                             pass to the -domain_home for wdt

      --wdtDomainType=<wdtDomainType>

                             WDT Domain Type (-domain_type). Default: WLS.

                               Supported values: WLS, JRF, or RestrictedJRF

      --wdtEncryptionKey[=<passphrase>]

                             Enter the passphrase to decrypt the WDT model

      --wdtEncryptionKeyEnv=<environment variable name>

                             environment variable containing the passphrase to

                               decrypt the WDT model

      --wdtEncryptionKeyFile=<passphrase file>

                             path to file the passphrase to decrypt the WDT

                               model

      --wdtHome=<WDT home directory>

                             The target folder in the image for the WDT install

                               and models. Default: /u01/wdt.

      --wdtJavaOptions=<wdtJavaOptions>

                             Java command line options for WDT

      --wdtModel=<wdtModelPath>

                             A WDT model file (or a comma-separated list of

                               files).

      --wdtModelHome=<wdtModelHome>

                             The target location in the image to copy WDT

                               model, variable, and archive files.  Default:

                               WDT_HOME/models

      --wdtModelOnly         Install WDT and copy the models to the image, but

                               do not create the domain. Default: false.

      --wdtRunRCU            instruct WDT to run RCU when creating the Domain

      --wdtStrictValidation  Use strict validation for the WDT validation

                               method. Only applies when using model only.

                               Default: false.

      --wdtVariables=<wdtVariablesPath>

                             A WDT variables file, if needed (or

                               comma-separated list of files).

      --wdtVersion=<wdtVersion>

                             WDT version to use.  Default: latest.

  --                         All parameters and options provided after the --

                               will be passed to the container image build

                               command.