Step 3: Build a WebLogic Image

In this article I am going to show you how to create a Docker image for installing WebLogic. Note this is for the installation of the WebLogic product binaries only. We will create another docker image for deploying a domain.


Before you can build the Oracle WebLogic Docker image, be sure you created the Oracle JRE 8 image!


Download Oracle WebLogic 12c


As with building the Oracle JRE 8 image, we first need to download the installation package for Oracle WebLogic server. In this article, we are going to use the developer version which is a smaller distribution than the generic version of the installer.


Instructions for downloading Oracle WebLogic and building the image can be found under docker-images/OracleWebLgoic/


Once you have downloaded the Quick Install Developer Edition from Oracle, copy it to appropriate directory per the file: docker-images/OracleWebLogic/dockerfiles/12.2.1

Notice how Oracle has a directory per version of Weblogic. You can build docker images for each version first by downloading that version from and then building its image.


Build the Docker Image

To build a docker image for Oracle WebLogic 12.2.1, run the provided build script under docker-images/OracleWebLogic/dockerfiles.


Running the script with the -h flag shows you all the helper options you can specify.


To build a 12.2.1 developer image, we need to specify the version and distribution.


Executing this command will take some time.  You should see from the output that the WebLogic image uses the Oracle JRE 8 image we built earlier.

Once the build is complete, verify the image was created.



In the next article we will create yet another docker image for the actual WebLogic domain itself.  Step 4: Build the Domain Image.

Step 3: Build a WebLogic Image
Tagged on:     
Show Buttons
Hide Buttons