|
1 | 1 | # Oracle WebLogic Image Tool
|
2 | 2 |
|
3 |
| -Oracle is finding ways for organizations using WebLogic Server to run important workloads, to move those workloads into |
4 |
| -the cloud, and simplify and speedup application deployment lifecycle. By adopting on industry standards, such as Docker |
5 |
| -and Kubernetes, WebLogic now runs in a cloud neutral infrastructure. To help simplify and automate the creation of |
6 |
| -Docker images for WebLogic Server, we are providing this open-source |
7 |
| -Oracle WebLogic Image Tool. This tool let's you create a new image, with installations of a JDK and WebLogic Server, |
8 |
| -and optionally, configure a WebLogic domain with your applications, apply WebLogic Server patches, or update an existing |
| 3 | +Oracle is finding ways for organizations using WebLogic Server to run important workloads, to move those workloads into |
| 4 | +the cloud, and to simplify and speed up the application deployment life cycle. By adopting industry standards, such as Docker |
| 5 | +and Kubernetes, WebLogic now runs in a cloud neutral infrastructure. To help simplify and automate the creation of |
| 6 | +Docker images for WebLogic Server, we are providing this open-source |
| 7 | +Oracle WebLogic Image Tool. This tool let's you create a new image, with installations of a JDK and WebLogic Server, |
| 8 | +and optionally, configure a WebLogic domain with your applications, apply WebLogic Server patches, or update an existing |
9 | 9 | image.
|
10 | 10 |
|
11 |
| -## Features |
| 11 | +## Features |
12 | 12 |
|
13 | 13 | The Image Tool provides three functions within the main script:
|
14 |
| - - [Create Image](site/create-image.md) - The `create` command helps build a WebLogic Docker image from a given base OS |
15 |
| - image. |
16 |
| - - [Update Image](site/update-image.md) - The `update` command can be used to apply WebLogic patches to an existing |
| 14 | + - [Create Image](site/create-image.md) - The `create` command helps build a WebLogic Docker image from a given base OS |
| 15 | + image. |
| 16 | + - [Update Image](site/update-image.md) - The `update` command can be used to apply WebLogic patches to an existing |
17 | 17 | WebLogic Docker image.
|
18 |
| - - [Cache](site/cache.md) - The Image Tool maintains a local file cache for patches and installers. The `cache` |
19 |
| - command can be used to manipulate the local file cache. |
20 |
| - |
| 18 | + - [Cache](site/cache.md) - The Image Tool maintains a local file cache for patches and installers. The `cache` |
| 19 | + command can be used to manipulate the local file cache. |
| 20 | + |
21 | 21 | ## Prerequisites
|
22 | 22 |
|
23 | 23 | - Docker client and daemon on the build machine, with minimum Docker version 17.05+ to support multi-stage builds.
|
24 | 24 | - WebLogic Server and JDK installers from OTN / Oracle e-Delivery.
|
25 | 25 | - (For patches) Oracle support credentials.
|
26 |
| -- Bash version 4.0 or higher to enable `<tab>` command complete feature |
| 26 | +- Bash version 4.0 or higher to enable the `<tab>` command complete feature. |
27 | 27 |
|
28 | 28 | ## Setup
|
29 | 29 |
|
30 | 30 | - Build the project (`mvn clean package`) to generate artifacts `imagetool-0.1-SNAPSHOT.zip`.
|
31 |
| -- Unzip the release ZIP file to a desired location. |
| 31 | +- Unzip the release ZIP file to a desired location. |
32 | 32 | - If running an OS with bash, run `cd your_unzipped_location/bin` and `source setup.sh`.
|
33 | 33 | - On Windows, set up with `imagetool.cmd` or the `imagetool.bat` script:
|
34 | 34 | ```cmd
|
35 | 35 | @ECHO OFF
|
36 | 36 | java -cp "your_unzipped_folder/lib" com.oracle.weblogic.imagetool.cli.CLIDriver %*
|
37 | 37 | ```
|
38 |
| - |
| 38 | +
|
39 | 39 | ## Help Command
|
40 | 40 | - After completing the [Setup](#Setup) steps, execute `imagetool help` to show the help screen.
|
41 | 41 | - You can execute the JAR directly using the command `java -cp "your_unzipped_folder/lib" com.oracle.weblogic.imagetool.cli.CLIDriver help`.
|
42 | 42 |
|
43 | 43 | ## Simple Example
|
44 | 44 | Let's give this a try!
|
45 |
| -- Get the installers from Oracle e-Delivery |
46 |
| -- Add those installers to the Image Tool file cache |
| 45 | +- Get the installers from Oracle e-Delivery. |
| 46 | +- Add those installers to the Image Tool file cache. |
47 | 47 | - Assuming Docker is installed, run `imagetool create`!
|
48 | 48 | ```bash
|
49 | 49 | unzip imagetool-0.1.zip
|
|
0 commit comments