Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
jasper and jasperserver
now:
Working with version 7.2.0
https://github.com/retrievercommunications/docker-jasperserver
Dockerfile: based on tomcat version 9?
* Based on -> FROM tomcat:9.0-jre8
zip-file fetched from -> https://sourceforge.net/projects/jasperserver/files/JasperServer/
-> Now, no zip-file for version 7.2.0
-> zip-file for 7.8.0 here as well -> https://archive.org/details/jasperserver
* fetches zip-file, unzips the zip-file, removes all the 'samples'.
* Adding 2 jdbc-drivers ; Mysql java 5.1.44 and driver xx?
* adding web.xml
* setting JAVA_OPTS / ALS= -> These can be set in docker-compose.yml as in Naturforskaren
@Inkimar

This comment has been minimized.

Copy link
Owner Author

@Inkimar Inkimar commented May 4, 2021

Continue Dockerfile
Row 12: removes all the 'samples'
Row 28: # Used to bootstrap JasperServer the first time it runs and start Tomcat each
Row 29: entrypoint.sh -> an if-fi and then -> ends with the line 'catalina.sh run'

# run Tomcat to start JasperServer webapp
catalina.sh run

Row 30: .do_deploy_jasperserver
cat .do_deploy_jasperserver

# If this file is present, then the JasperServer container will bootstrapp itself on startup.
# This file will get deleted once the bootstrap process is finished.
# If you want to re-bootstrap for any reason then recreate a file with the same name
# at the root of the jasperserver container and then restart the container.%
@Inkimar

This comment has been minimized.

Copy link
Owner Author

@Inkimar Inkimar commented May 4, 2021

Bitnami, docker and Jasperreports:

https://hub.docker.com/r/bitnami/jasperreports

https://hub.docker.com/layers/bitnami/jasperreports/7.8.0/images/sha256-f111c801ad7a0bc245939d9114621ecade50a6323222829bfab3dee08aa2dabf?context=explore

docker pull bitnami/jasperreports:7.8.0
-> -> bitnami/jasperreports 7.8.0 0f30bf5cdccd 18 hours ago 906MB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment