FINERACT-730: Fixed dependencies, SSL config and main class etc to get bootRun to work. Migrated from Gradle Tomcat plugin to Cargo plugin to fix integration test
This commit is contained in:
committed by
Michael Vorburger ⛑️
parent
cb690f6d5b
commit
b05162f60b
+3
-2
@@ -37,14 +37,15 @@ RUN ./gradlew clean -x rat -x test war
|
||||
|
||||
# =========================================
|
||||
|
||||
FROM bitnami/tomcat:7.0.94 as fineract
|
||||
FROM bitnami/tomcat:9.0 as fineract
|
||||
|
||||
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64/jre
|
||||
ENV JAVA_HOME /usr/local/openjdk-8/jre
|
||||
|
||||
USER root
|
||||
RUN apt-get update -qq && apt-get install -y wget
|
||||
|
||||
COPY --from=builder /fineract/build/libs/fineract-provider.war /opt/bitnami/tomcat/webapps
|
||||
COPY --from=builder /usr/local/openjdk-8/jre /usr/local/openjdk-8/jre
|
||||
|
||||
RUN keytool -genkey -keyalg RSA -alias tomcat -keystore /opt/bitnami/tomcat/tomcat.keystore -keypass xyz123 -storepass xyz123 -noprompt -dname "CN=Fineract, OU=Fineract, O=Fineract, L=Unknown, ST=Unknown, C=Unknown"
|
||||
COPY ./docker/server.xml /opt/bitnami/tomcat/conf
|
||||
|
||||
Reference in New Issue
Block a user