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
16
16
ENV DATABASE_PASSWORD toto
17
17
18
18
ARG CERBERUS_NAME=cerberus-core
19
- ARG CERBERUS_VERSION=4.18
19
+ ARG CERBERUS_VERSION=SNAPSHOT
20
20
ARG CERBERUS_PACKAGE_NAME=${CERBERUS_NAME}-${CERBERUS_VERSION}
21
21
22
22
ARG MYSQL_JAVA_CONNECTOR_VERSION=9.0.0
@@ -53,13 +53,11 @@ RUN wget -P /tmp/ https://github.com/keycloak/keycloak/releases/download/${KEYCL
53
53
54
54
# Download & install Cerberus Application
55
55
RUN 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 && \
58
57
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 && \
60
59
echo "Clean temp directory" && \
61
60
rm /tmp/* -rf
62
- # COPY Cerberus-3.12-SNAPSHOT.war /usr/local/tomcat/webapps/ROOT.war
63
61
64
62
# Only for debug purpose
65
63
# 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
11
11
ENV DATABASE_PASSWORD toto
12
12
13
13
ARG CERBERUS_NAME=cerberus-core
14
- ARG CERBERUS_VERSION=4.18
14
+ ARG CERBERUS_VERSION=SNAPSHOT
15
15
ARG CERBERUS_PACKAGE_NAME=${CERBERUS_NAME}-${CERBERUS_VERSION}
16
16
17
17
ARG MYSQL_JAVA_CONNECTOR_VERSION=9.0.0
@@ -37,13 +37,11 @@ RUN echo "Download & install MySQL JDBC Drivers" && \
37
37
38
38
# Download & install Cerberus Application
39
39
RUN 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 && \
42
41
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 && \
44
43
echo "Clean temp directory" && \
45
44
rm /tmp/* -rf
46
- # COPY Cerberus-3.12-SNAPSHOT.war /usr/local/tomcat/webapps/ROOT.war
47
45
48
46
# Only for debug purpose
49
47
# RUN ls -al /usr/local/tomcat/webapps/
You can’t perform that action at this time.
0 commit comments