Public Repository

Last pushed: 2 years ago
Short Description
A conrainer that can be used as a jenkins slave to run oracle scripts.
Full Description

Based on centos:6, this container is aimed to be used as a Jenkins Slave, to run Oracle scripts.

The rpms installed for Oracle client are:

  • oracle-instantclient12.1-basic-
  • oracle-instantclient12.1-devel-
  • oracle-instantclient12.1-sqlplus-

Installed packages:

  • openssh
  • openJDK (1.8.0)

Environment variables are set as:

export ORACLE_HOME=/usr/lib/oracle/12.1/client64
export TNS_ADMIN=$ORACLE_HOME/network/admin

User jenkins is also created and port 22 is exposed.

To run an Oracle script, a new container should be created FROM this one which includes the following lines in the Dockerfile:

COPY tnsnames.ora /usr/lib/oracle/12.1/client64/network/admin

The tnsnames.ora should contain the TNS details for the DB that you want to connect to.

Docker Pull Command