Public | Automated Build

Last pushed: 6 months ago
Short Description
Alpine JasperReports Server CE (Oracle 11g) Docker image
Full Description

Alpine JasperReports Server CE (Oracle 11g) Docker image

This image is based on Alpine tomcat image (tomcat:8.0-jre8-alpine), which is only a 75MB image, and provides a docker image for JasperReports Server CE with Oracle 11g as repository database.

Prerequisites

Usage Example

This image is intended to be a base image for your projects, so you may use it like this:

FROM cosmomill/alpine-jasperserverce-oracle
$ docker build -t my_app . --build-arg ORACLE_JDBC_DRIVER="ojdbc6.jar"
$ docker run -d -P --link <your cosmomill/alpine-oracle-xe container>:db --volumes-from <your cosmomill/alpine-oracle-xe container> -v jasperserver_src:/usr/src/jasperserver -v jasperserver_webapps:/usr/local/tomcat/webapps -e DATABASE_HOSTNAME="db" -p 8080:8080 my_app

The default list of ENV variables is:

DATABASE_HOSTNAME=
ORACLE_SID=XE
DATABASE_PORT=1521
CATALINA_OPTS=-Doracle.jdbc.defaultNChar=true -Xms1024m -Xmx2048m -XX:PermSize=32m -XX:MaxPermSize=512m -Xss2m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled

Connect to database

Auto generated passwords are stored in separate hidden files in /u01/app/oracle/oradata/dbconfig/XE with the naming system .username.passwd.

Docker Pull Command
Owner
cosmomill