Skip to content

Commit 033213e

Browse files
committed
Update Dockerfile
1 parent 1f83715 commit 033213e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ RUN apt-get update && \
1212

1313
# MANAGEMENT
1414

15-
RUN git clone --branch $MGNT_BRANCH_VERSION https://github.com/apereo/cas-management.git /tmp/cas-management
15+
#RUN git clone --branch $MGNT_BRANCH_VERSION https://github.com/apereo/cas-management.git /tmp/cas-management
1616

17-
WORKDIR /tmp/cas-management
17+
#WORKDIR /tmp/cas-management
1818

19-
RUN ./gradlew clean build $EXT_BUILD_COMMANDS --parallel --no-daemon $EXT_BUILD_OPTIONS
19+
#RUN ./gradlew clean build $EXT_BUILD_COMMANDS --parallel --no-daemon $EXT_BUILD_OPTIONS
2020

2121

2222
RUN git clone --branch $CAS_BRANCH_VERSION --single-branch https://github.com/apereo/cas-overlay-template.git /tmp/cas-overlay
@@ -64,10 +64,10 @@ COPY --from=overlay /tmp/cas-overlay/build/cas-resources/static/favicon.ico /usr
6464
COPY --from=overlay /tmp/cas-overlay/build/cas-resources/static/images/cas-logo.png /usr/local/tomcat/webapps/cas/WEB-INF/classes/static/themes/custom/images/mylogo.png
6565

6666
# Install management
67-
COPY --from=overlay /tmp/cas-management/webapp/cas-mgmt-webapp/build/libs/cas-mgmt-webapp-6.6.5-SNAPSHOT.war /usr/local/tomcat/webapps
68-
RUN mkdir /usr/local/tomcat/webapps/cas-management
69-
RUN unzip /usr/local/tomcat/webapps/cas-mgmt-webapp-6.6.5-SNAPSHOT.war -d /usr/local/tomcat/webapps/cas-management
70-
RUN rm -rf /usr/local/tomcat/webapps/cas-mgmt-webapp-6.6.5-SNAPSHOT.war
67+
#COPY --from=overlay /tmp/cas-management/webapp/cas-mgmt-webapp/build/libs/cas-mgmt-webapp-6.6.5-SNAPSHOT.war /usr/local/tomcat/webapps
68+
#RUN mkdir /usr/local/tomcat/webapps/cas-management
69+
#RUN unzip /usr/local/tomcat/webapps/cas-mgmt-webapp-6.6.5-SNAPSHOT.war -d /usr/local/tomcat/webapps/cas-management
70+
#RUN rm -rf /usr/local/tomcat/webapps/cas-mgmt-webapp-6.6.5-SNAPSHOT.war
7171

7272
# sauvegarde du theme
7373
RUN mkdir /data/themes/

0 commit comments

Comments
 (0)