vidakovic commented on a change in pull request #1986: URL: https://github.com/apache/fineract/pull/1986#discussion_r757835136
########## File path: .travis.yml ########## @@ -57,13 +48,8 @@ install: - curl -O https://cdn.azul.com/zulu/bin/zulu-repo_1.0.0-3_all.deb - sudo apt-get -yq install ./zulu-repo_1.0.0-3_all.deb - sudo apt-get -q update - - sudo apt-get -yq install zulu17-jdk - - export JAVA_HOME=/usr/lib/jvm/zulu17 - - echo "USE mysql;\nALTER USER 'root'@'localhost' IDENTIFIED BY 'mysql';\n" | mysql -u root - - mysql -u root -pmysql -e 'CREATE DATABASE IF NOT EXISTS `fineract_tenants`;' - - mysql -u root -pmysql -e 'CREATE DATABASE IF NOT EXISTS `fineract_default`;' -# Hardcoding the time zone is a temporary fix for https://issues.apache.org/jira/browse/FINERACT-723 - - export TZ=Asia/Kolkata + - sudo apt-get -yq install zulu11-jdk + - export JAVA_HOME=/usr/lib/jvm/zulu11 Review comment: Fixed ########## File path: fineract-provider/build.gradle ########## @@ -274,10 +252,50 @@ bootJar { classifier = '' } -bootWar { - enabled = false +jib { + from { + // image = 'azul/zulu-openjdk-alpine:17-jre' // once we get rid of OpenJPA we could reduce space significantly + image = 'azul/zulu-openjdk-alpine:17' + } + + to { + image = 'fineract' + tags = [ + "${releaseVersion}", + 'latest' + ] + } + + container { + creationTime = 'USE_CURRENT_TIMESTAMP' + jvmFlags = [ + '-Duser.home=/data', + '-Xmx1G', + '-Xms1G', + '-XshowSettings:vm', + '-XX:+UseContainerSupport', + '-XX:+UseStringDeduplication', + '-XX:MinRAMPercentage=25', + '-XX:MaxRAMPercentage=80' + ] + args = [ + '-Dspring.profiles.active=basicauth', + '-Dfile.encoding=UTF-8', + '-Duser.timezone=UTC', Review comment: Alright... I'll set this in the Docker Compose file, no problem. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
