Commit Graph
25 Commits
Author SHA1 Message Date
Michael Vorburger ⛑️andAleksandar Vidakovic 6abbaafd80 Minor performance optimization to Gradle build in Dockerfile 2020-12-13 13:27:25 +01:00
Aleksandar VidakovicandPetri Tuomola 5520bb3c2d FINERACT-1188: README and other files are not covered by Spotless 2020-10-14 10:29:05 +03:00
ebouvardandMichael Vorburger ⛑️ b1251286a6 Updated Dockerfile to fix build error. 2020-10-05 20:44:46 +02:00
Petri TuomolaandYemdjih Kaze Nasser 333759f2aa FINERACT-1079: Run spotlessCheck for automated builds, spotlessApply for manual ones 2020-07-07 08:43:07 +01:00
d9df7fe245 FINERACT-835: Upgrade Swagger Annotations to Annotations 2.0 (#1101)
Co-authored-by: Michael Vorburger ⛑️ <mike@vorburger.ch>
2020-06-26 13:32:14 +02:00
Petri TuomolaandMichael Vorburger ⛑️ 1bff035d3c FINERACT-830: Configuring Dockerfile to use Google Distroless base image 2020-05-21 15:47:12 +02:00
Michael Vorburger ⛑️andGitHub e7889f8463 copy .git/** into build container so git.properties can be generated [FINERACT-983] (#904) 2020-05-17 10:33:29 +01:00
Michael Vorburger 1fdc033923 use --no-daemon in Dockerfile (and don't clean; really no need) [FINERACT-970] 2020-05-16 23:46:27 +02:00
Petri TuomolaandMichael Vorburger ⛑️ 0e4aeef1af FINERACT-846: Migrating to Java 11, upgrading dependencies, fixing compiler warnings 2020-05-07 22:28:19 +02:00
Petri TuomolaandMichael Vorburger ⛑️ b05162f60b 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 2020-05-05 22:04:04 +02:00
Michael Vorburger 1c74398d90 add MySQL JDBC Driver (LGPL) to Dockerfile + doc (fixes FINERACT-762)
Note that it is NOT enabled by default, which should be OK for the ASF.

The main point here is just to clearly document it for end-users.

I've obviously tried out what's documented, and can confirm it works.
2020-04-18 01:46:56 +02:00
xurrorandMichael Vorburger ⛑️ a7ebef4781 FINERACT-807
change mifosplatform-tenants and mifostenant-default to fineract_tenants
 and fineract_default respectively

closes https://issues.apache.org/jira/projects/FINERACT/issues/FINERACT-807?filter=allopenissues
2020-03-08 14:16:05 +01:00
Michael Vorburger ⛑️andGitHub c6b2c09032 COPY only the minimal required files to build in the Dockerfile (#712)
This speeds up e.g. "podman-compose build" for me from 5m to 4m.

BEFORE:
real	5m29.884s
user	4m17.643s
sys	    2m57.567s

AFTER:
real	4m19.458s
user	3m13.815s
sys	    2m 3.095s
2020-02-09 19:35:27 +01:00
Michael Vorburger b0dce97b82 fix broken Dockerfile build (FINERACT-833) 2020-01-19 14:25:19 +01:00
Michael Vorburger edc9e030e1 Allow customizing JDBC URLs at run-time instead of during container build (FINERACT-773)
In Docker, set JAVA_OPTS instead of FINERACT_TENANTS_URL.

Because ARG/ENV in the Dockerfile can't (easily) be changed at run-time.

At first I tried to override the ENTRYPOINT with a script which sets
JAVA_OPTS based on FINERACT_TENANTS_URL and then delegates to the original
/app-entrypoint.sh; that didn't immediately work, so this seems simpler.

Including make default tenant JDBC hostname & port configurable at Docker container run instead of build time.
2019-11-26 06:06:59 +01:00
Michael Vorburger 1b6c202ddc Add docker-compose non-regression test to Travis CI 2019-10-21 09:45:23 +02:00
Anh3h 9d9ccfc76b Update Dockerfile to use user-provided MySQL IP 2019-07-29 10:23:27 -04:00
Michael Vorburger.ch f13c076862 rm git & JDK from Dockerfile
Now that we separated the build and runtime containers,
we can have only a JRE but not a JDK in the runtime container
(whereas the builder container will still have a JRE).

This makes for a smaller, and more importantly,
more secure, runtime container image.

Also removing git from runtime container, as it's not used.
2019-07-23 10:17:56 +02:00
Michael Vorburger.ch 81c1468fa4 use multi-stage build in Dockerfile (fixes FINERACT-771) 2019-07-23 10:12:25 +02:00
Vishwas Babu A JandGitHub 624015acaa Merge pull request #613 from vorburger/FINERACT-765_rm-flyway-from-gradle
remove Flyway completely from Gradle build (fixes FINERACT-765)
2019-07-08 09:27:30 +05:30
Michael Vorburger.ch dd4923888b upgrade Drizzle JDBC from 1.3 to 1.4 2019-07-04 10:43:05 +02:00
Michael Vorburger.ch 0c2b1dc6dc remove Flyway completely from Gradle build (fixes FINERACT-765)
we (of course), still, but only, run it in-App at runtime boot

This is a clean-up which removes something we don't actually need.

Most importantly, it unblocks the Gradle upgrade in FINERACT-700,
where this doesn't work anymore anyway (and while there's a fix
making it work on one of my branches, it seems simpler to just
remove it).
2019-07-04 10:39:55 +02:00
conradspandMichael Vorburger ⛑️ 21f50ef132 Set host to fineractmysql when running in docker 2019-07-01 19:21:58 +02:00
conradspandMichael Vorburger ⛑️ b8dadd0419 Added license, moved db init file 2019-06-29 15:38:33 +02:00
conradspandMichael Vorburger ⛑️ 21cc14c9f2 Simplify docker process - run from root directory 2019-06-29 15:38:33 +02:00