Create an image with full Internet access
The Image Tool supports creating Linux based WebLogic container images, applying WebLogic patches, and creating WebLogic domains. It can be used with or without Internet access.
In this use case, the Image Tool will:
- Start with a base-level operating system image (
ghcr.io/oracle/oraclelinux:8-slim). - Update the image with the necessary packages for installing WebLogic Server.
- Install Java and WebLogic Server.
Steps
-
Download these Java and WebLogic installers from the Oracle Software Delivery Cloud and save them in a directory of your choice, for example,
/home/acmeuser/wls-installers:fmw_12.2.1.3.0_wls_Disk1_1of1.zip
jdk-8u202-linux-x64.tar.gz -
Use the Cache Tool to add the installers:
Note: The value of the version must be a valid WebLogic Server version number. This version number is used to verify and find the correct patch file to download from Oracle Support. The format of the version is a 5 digits tuple, separated by period. For example,
12.2.1.3.012.1.3.0.0 -
Create the image using the Create Tool commands. For example:
Where --user --passwordEnv provides the credentials for a user who is entitled to download patches from Oracle Support.
NOTE: You can provide the password in one of three ways:
- Read from STDIN
--password - Environment variable
--passwordEnv - File containing the password
--passwordFile
You will see the Docker command output as the tool runs:
- To verify that the image was created, use the
docker imagescommand: