File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed
cerberus-as-tomcat-keycloak/SNAPSHOT
cerberus-as-tomcat/SNAPSHOT Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ ENV DATABASE_USER cerberus
1616ENV DATABASE_PASSWORD toto
1717
1818ARG CERBERUS_NAME=cerberus-core
19- ARG CERBERUS_VERSION=4.18
19+ ARG CERBERUS_VERSION=SNAPSHOT
2020ARG CERBERUS_PACKAGE_NAME=${CERBERUS_NAME}-${CERBERUS_VERSION}
2121
2222ARG MYSQL_JAVA_CONNECTOR_VERSION=9.0.0
@@ -53,13 +53,11 @@ RUN wget -P /tmp/ https://github.com/keycloak/keycloak/releases/download/${KEYCL
5353
5454# Download & install Cerberus Application
5555RUN echo "Download & install Cerberus Application" && \
56- wget -P /tmp/ https://github.com/cerberustesting/cerberus-source/releases/download/cerberus-testing-${CERBERUS_VERSION}/cerberus-core-${CERBERUS_VERSION}.zip && \
57- unzip -q -d /tmp /tmp/${CERBERUS_PACKAGE_NAME}.zip && \
56+ wget -P /tmp/ https://vm.cerberus-testing.org/delivery/${CERBERUS_PACKAGE_NAME}.war && \
5857 rm -rf /usr/local/tomcat/webapps/* && \
59- cp /tmp/${CERBERUS_PACKAGE_NAME}/${CERBERUS_PACKAGE_NAME} .war /usr/local/tomcat/webapps/ROOT.war && \
58+ cp /tmp/${CERBERUS_PACKAGE_NAME}.war /usr/local/tomcat/webapps/ROOT.war && \
6059 echo "Clean temp directory" && \
6160 rm /tmp/* -rf
62- # COPY Cerberus-3.12-SNAPSHOT.war /usr/local/tomcat/webapps/ROOT.war
6361
6462# Only for debug purpose
6563# RUN ls -al /usr/local/tomcat/webapps/
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ ENV DATABASE_USER cerberus
1111ENV DATABASE_PASSWORD toto
1212
1313ARG CERBERUS_NAME=cerberus-core
14- ARG CERBERUS_VERSION=4.18
14+ ARG CERBERUS_VERSION=SNAPSHOT
1515ARG CERBERUS_PACKAGE_NAME=${CERBERUS_NAME}-${CERBERUS_VERSION}
1616
1717ARG MYSQL_JAVA_CONNECTOR_VERSION=9.0.0
@@ -37,13 +37,11 @@ RUN echo "Download & install MySQL JDBC Drivers" && \
3737
3838# Download & install Cerberus Application
3939RUN echo "Download & install Cerberus Application" && \
40- wget -P /tmp/ https://github.com/cerberustesting/cerberus-source/releases/download/cerberus-testing-${CERBERUS_VERSION}/cerberus-core-${CERBERUS_VERSION}.zip && \
41- unzip -q -d /tmp /tmp/${CERBERUS_PACKAGE_NAME}.zip && \
40+ wget -P /tmp/ https://vm.cerberus-testing.org/delivery/${CERBERUS_PACKAGE_NAME}.war && \
4241 rm -rf /usr/local/tomcat/webapps/* && \
43- cp /tmp/${CERBERUS_PACKAGE_NAME}/${CERBERUS_PACKAGE_NAME} .war /usr/local/tomcat/webapps/ROOT.war && \
42+ cp /tmp/${CERBERUS_PACKAGE_NAME}.war /usr/local/tomcat/webapps/ROOT.war && \
4443 echo "Clean temp directory" && \
4544 rm /tmp/* -rf
46- # COPY Cerberus-3.12-SNAPSHOT.war /usr/local/tomcat/webapps/ROOT.war
4745
4846# Only for debug purpose
4947# RUN ls -al /usr/local/tomcat/webapps/
You can’t perform that action at this time.
0 commit comments