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:
- openJDK (1.8.0)
Environment variables are set as:
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.