Commit ca0c50ef authored by Khalid Ali's avatar Khalid Ali

Merge branch 'feature/add-docker' into 'master'

Dockerize CAS server

Closes #1

See merge request !1
parents a61f42e1 a070ccf6
Pipeline #3702 passed with stages
in 8 minutes and 41 seconds
FROM gradle:jdk11 as builder
COPY --chown=gradle:gradle . /home/gradle/src
WORKDIR /home/gradle/src
RUN gradle build
FROM openjdk:11-jre-slim
COPY --from=builder /home/gradle/src/build/libs/cas.war /tmp/cas-overlay/
COPY ./tomcat.keystore /etc/cas/tomcat.keystore
COPY ./src/main/resources/etc/cas /etc/cas
WORKDIR /tmp/cas-overlay
EXPOSE 9443
CMD ["java", "-jar", "/tmp/cas-overlay/cas.war"]
......@@ -17,4 +17,4 @@ standalone.config=/etc/cas/config
#cas.tgc.crypto.encryption.key= LZT8P2nJeG9Wg59B2qOAM6EDZaM_BFIFtfkEX_LGdf8
#
#cas.webflow.crypto.signing.key= tNU9GP8Y-GmQJXtEA91aRnTZ7-lUcVSDZsYzOaotv5lHPKlQ2YrvhgDUM4y5AVY4AKmHrA3fUoefmZoQKXa1Vw
#cas.webflow.crypto.encryption.key= zRO9dXSrfHlytKiiF56lqQ==
\ No newline at end of file
#cas.webflow.crypto.encryption.key= zRO9dXSrfHlytKiiF56lqQ==
......@@ -18,4 +18,4 @@ server.ssl.keyPassword=changeit
server.port=9443
cas.authn.accept.users=casuser::Mellon,username::password
\ No newline at end of file
cas.authn.accept.users=casuser::Mellon,username::password
File added
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment