Building an Dockerized Oracle Database Image

If the myARCH cluster is configured for development and testing, the cluster will automatically build an Oracle database image (Express Edition 11g) on the myARCH host machine as part of the i2b2 test server setup.  This dockerized Oracle container is setup to run in this cluster, but Oracle licensing requires you to download an appropriately-licensed copy from Oracle's website.

Step-by-step guide

To build the Oracle database properly on this host, do the following before attempting to start the mySCILHS cluster for the first time:

  1. Download the Oracle Database Express Edition 11g Release 2 (http://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html)

    Oracle account required

    NOTE: You must have an Oracle developer account AND agree to the license terms in order to do this.
  2. Copy/move the file (which should be a variation of the name *oracle-xe-11.2.0-1.0.x86_64.rpm.zip*) to the directory `$MYSCILHS_HOME/docker/local_builds/oracle-xe/docker_files/`

  3. When ready, start the myARCH cluster.  The container 'i2b2data' will be built using the newly downloaded file and will take several minutes to complete.

Once the container has been built initially, the Oracle database image will be stored on the host and subsequent startups will generally be faster.