Apereo CAS Server web application running inside a docker container.
This repository hosts the Docker build configuration necessary to build a CAS image. See the Dockerfile
for more info.
A docker image for CAS server. Images are tagged to match CAS server releases.
1.9.x
~ 18.x
8080
and 8443
Dockerfile
to ensure the right branch from the CAS overlay project is pulled/cloned.thekeystore
file with the server certificate and chain if you need access the CAS server via HTTPS.changeit
.keytool -genkeypair -alias cas -keyalg RSA -keypass changeit \
-storepass changeit -keystore ./thekeystore \
-dname "CN=cas.example.org,OU=Example,OU=Org,C=AU" \
-ext SAN="dns:example.org,dns:localhost,ip:127.0.0.1"
...and add cas.example.org
to your hosts file:
# echo '127.0.0.1 cas.example.org' >> /etc/hosts
Be sure to adjust the above values to match your CAS domain.
The build will also auto-copy configuration files under the etc/cas
directory to the corresponding locations inside the image.
NOTE: On windows, you may want to run bash
first so you can execute shell scripts.
./build.sh $CasVersion
The image will be built as apereo/cas:v$CasVersion
.
./run.sh $CasVersion
build|run.sh
files and need to be updated per CAS/Image release../push.sh $CasVersion