Preparing the Docker Image from the Source

Building a docker image from a source is relatively easy. This example shows the steps that are required to build and deploy Policy Admin System (PAS) application. The docker must be installed on the host machine as a prerequisite, where the Service Layer application container will be built.

Pre-requisites

Before beginning the installation steps, the following components and binaries should be downloaded from My Oracle Support (Patch 36361936):

  • WebSphere Liberty 23.0.0.2

  • By default, the Dockerfile is configured with Oracle Proxy. Please comment the proxy if you are outside the Oracle network or update it as per your proxy configuration.

    • # Comment https_proxy outside the ORACLE network

    • ENV https_proxy www-proxy-hqdc.us.oracle.com:80

  • Administrative rights to the server

  • Oracle Insurance Policy Administration (OIPA) V12.0.1.0 Media Pack

  • Download the required Database driver and copy the downloaded driver to externallibs/pas_shared/lib directory

    • Oracle 21.3.0.0 - The necessary driver, ojdbc11-21.3.0.0.jar, is included in the libs directory of the OIPA Media Pack. This file is not available for download. Contact your IT department if you need assistance locating these files. (Rename to ojdbc.jar)

    • IBM DB2 - db2jcc4 jar is included with the purchase of the DB2 software.(Rename to db2jcc4.jar)

    • Microsoft SQL - download the sqljdbc4.jar library version 4.0 from the below link (Rename to mssql-jdbc.jar) https://mvnrepository.com/artifact/com.microsoft.sqlserver/sqljdbc4/4.0