java-tutorials/cas/cas-server/docker-run.sh
Seun Matt 65e21d3f6a example code for BAEL-3749 (#8815)
* example code for BAEL-3749

* added live test

* added live test

* improved exception handling in response log filter

* propage exception in example code

* updated repo with upstream

* added example code for BAEL-3293

* updated the example code for BAEL-3749

* updated the example code for BAEL-3749

* updated the example code for BAEL-3749

* updated the example code for BAEL-3749
2020-03-29 13:36:54 -07:00

7 lines
253 B
Bash
Executable File

#!/bin/bash
docker stop cas > /dev/null 2>&1
docker rm cas > /dev/null 2>&1
image_tag=(`cat gradle.properties | grep "cas.version" | cut -d= -f2`)
docker run -d -p 8080:8080 -p 8443:8443 --name="cas" org.apereo.cas/cas:"${image_tag}"
docker logs -f cas