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.


No comments:

Post a Comment