Skip to content
This repository has been archived by the owner. It is now read-only.
Apereo CAS Server web application running inside a docker container.
Shell Dockerfile
Branch: master
Clone or download
Misagh Moayyed
Misagh Moayyed Update .travis.yml
Latest commit a2d664f May 6, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin fixes May 5, 2019
etc/cas add config directory for docker image Jul 31, 2017
gradle/wrapper switch to cas gradle overlay May 5, 2019
.gitignore updated Oct 30, 2016
.travis.yml Update .travis.yml May 5, 2019
Dockerfile fixes May 5, 2019
LICENSE Initial commit Oct 30, 2016 updated May 5, 2019
build.gradle switch to cas gradle overlay May 5, 2019 fixes May 5, 2019 updated Jul 21, 2017 updated Jul 21, 2017
gradlew switch to cas gradle overlay May 5, 2019
gradlew.bat switch to cas gradle overlay May 5, 2019 updated Jul 21, 2017 fixes May 5, 2019
thekeystore updated Oct 30, 2016

Central Authentication Service (CAS) License


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.


  • Docker version 1.9.x ~ 18.x



  • The image will be available on the host via ports 8080 and 8443
  • You must check the Dockerfile to ensure the right branch from the CAS overlay project is pulled/cloned.
  • Check the CAS overlay project itself to figure out the targetted CAS release.


  • Update the thekeystore file with the server certificate and chain if you need access the CAS server via HTTPS.
  • The password for the keystore is changeit.
  • The build will automatically copy the keystore file to the image. The embedded container packaged in the overlay is pre-configured to use that keystore for HTTPS requests.
keytool -genkeypair -alias cas -keyalg RSA -keypass changeit \
        -storepass changeit -keystore ./thekeystore \
        -dname ",OU=Example,OU=Org,C=AU" \
        -ext SAN=",dns:localhost,ip:"

...and add to your hosts file:

# echo '' >> /etc/hosts

Be sure to adjust the above values to match your CAS domain.

CAS Configuration

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.

./ $CasVersion

The image will be built as apereo/cas:v$CasVersion.


./ $CasVersion


  • New images shall be released at the time of a new CAS server release.
  • Image versions are reflected in the build| files and need to be updated per CAS/Image release.
  • Images are published to
./ $CasVersion
You can’t perform that action at this time.