Hi all,
I've created a small docker setup that builds and runs CAS in docker using a multi-stage build, resulting image is about 173MB. We're planning on using this to build & run our production CAS servers when we update to 5.1.x. Does this seem reasonable? The github repo is at:
The way it works is that the first stage clones the git repo from
https://github.com/apereo/cas-overlay-template (branch master), copies in any overlay files, then builds cas.war using mvn clean package. The second stage copies in the warfile from the 1st stage, copies etc/cas into the container and runs java -jar cas.war
One thing that would be helpful is if releases to the cas-overlay-template repo were tagged with the version, as in 5.1.3 would have a tag of 5.1.3, 5.1.4 would be tagged 5.1.4, that way when I go production I can clone based on the tag I want.
Thanks,
Chris Peck