about summary refs log blame commit diff
path: root/third_party/apereo-cas/overlay/docker-run.sh
blob: 6b4ce97559195ae31f5e15c2a5df0001603cca66 (plain) (tree)
1
2
3
4
5
6
7






                                                                               
#!/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" apereo/cas:"v${image_tag}"
docker logs -f cas