Oracle is finding ways for organizations using WebLogic Server to run important workloads, to move those workloads into the cloud, and to simplify and speed up the application deployment life cycle. By adopting industry standards, such as Docker and Kubernetes, WebLogic now runs in a cloud neutral infrastructure. To help simplify and automate the creation of Docker images for WebLogic Server, we are providing this open-source Oracle WebLogic Image Tool. This tool let's you create a new Linux based image, with installations of a JDK and WebLogic Server, and optionally, configure a WebLogic domain with your applications, apply WebLogic Server patches, or update an existing image.
The Image Tool provides three functions within the main script:
- Create Image - The
create
command creates a new Docker image and installs the requested Java and WebLogic software. Additionally, you can create a WebLogic domain in the image at the same time. - Update Image - The
update
command creates a new Docker image by applying WebLogic patches to an existing image. Additionally, you can create a WebLogic domain if one did not exist previously, update an an existing domain, or deploy an application. - Cache - The Image Tool maintains metadata on the local file system for patches and installers.
Thecache
command can be used to manipulate the local metadata.
- Docker client and daemon on the build machine, with minimum Docker version Docker 18.03.1.ce.
- Installers for WebLogic Server and JDK from OTN / Oracle e-Delivery.
- (For patches) Oracle support credentials.
- Bash version 4.0 or higher to enable the
<tab>
command complete feature.
- Build the project (
mvn clean package
), to create the ZIP installer in ./imagetool/target. - Unzip the release ZIP file to a desired location.
- For Linux environment
cd your_unzipped_location/bin
andsource setup.sh
. - For Windows environment
cd your_unzipped_location\bin
and.\imagetool.cmd
. - Run
imagetool help
to show the help screen.
Copyright (c) 2019 Oracle and/or its affiliates. All rights reserved.