File tree Expand file tree Collapse file tree 3 files changed +19
-7
lines changed
Expand file tree Collapse file tree 3 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 1- ARG BASE_IMAGE="azul/zulu-openjdk:21 "
1+ ARG BASE_IMAGE="eclipse-temurin:11-jdk "
22ARG EXT_BUILD_COMMANDS=""
33ARG EXT_BUILD_OPTIONS=""
44
55FROM $BASE_IMAGE as overlay
6+ ENV CAS_BRANCH_VERSION=6.6
67
7- RUN cd /tmp && \
8- apt-get update && \
9- apt-get install -y git && \
10- git clone -b master --single-branch https://github.com/apereo/cas-overlay-template.git cas-overlay
8+ RUN apt-get update && \
9+ apt-get install -y git
10+
11+ RUN git clone --branch $CAS_BRANCH_VERSION --single-branch https://github.com/apereo/cas-overlay-template.git /tmp/ cas-overlay
1112
1213WORKDIR /tmp/cas-overlay
1314
1415COPY src/ /tmp/cas-overlay/src/
1516
1617RUN ./gradlew clean build $EXT_BUILD_COMMANDS --parallel --no-daemon $EXT_BUILD_OPTIONS
1718
19+ RUN ls -la /tmp/cas-overlay/build/libs/cas.war
20+
21+ RUN apt-get clean && \
22+ rm -rf /var/lib/apt/lists/* /var/tmp/*
23+
1824FROM $BASE_IMAGE as cas
1925
2026RUN mkdir -p /etc/cas && \
Original file line number Diff line number Diff line change @@ -26,11 +26,17 @@ server.connectionTimeout=20000
2626cas.server.name =https://host.docker.internal:8443
2727cas.server.prefix =https://host.docker.internal:8443/cas
2828
29+ cas.server.tomcat.httpProxy.httpServerUrl =http://host.docker.internal:8080/cas
30+
2931#
3032#
3133# logging.config=file:/etc/cas/config/log4j2.xml
32- ; cas.serviceRegistry.initFromJson=true
33- cas.service-registry.json.location =file:/etc/cas/services
34+ cas.serviceRegistry.initFromJson =true
35+ cas.serviceRegistry.watcherEnabled =true
36+ cas.serviceRegistry.config.location =file:/etc/cas/services
37+
38+ ; cas.tgc.crypto.encryption.key=qGebWKYNzc7rAG0oBVIKRYm9cuGWTvV1netD6BZIG5c
39+ ; cas.tgc.crypto.signing.key=WqgVPoWLLcGLLB-e_sD-4UjUybsrJOrtjt8RZvHx2XqkfesKaogbPNf3dafTKpgFNfwgUg40b6ujxydHJTtGLQ
3440
3541; cas.proxyPolicy.allowedToProxy=true
3642
File renamed without changes.
You can’t perform that action at this time.
0 commit comments