> I get the following exception when using the docker-compose build option:
Tonio, just to avoid any confusion, could you confirm that you are using today's master (I merged Steve' contribution on Saturday; thanks again!), and that you are just following https://github.com/apache/fineract/#instructions-to-run-using-docker-and-docker-compose, exactly? I would be interested in seeing your full output, from the start - would you mind to copy/paste it to some place, like a https://gist.github.com or https://paste.fedoraproject.org or wherever? It's (very) curious that you get this weird Gradle failure - the whole point of containers to create an isolated environment... it does not matter what (or even if) Gradle version you have locally. I'm puzzled. Would someone else have a minute to try this out and let us know if it works for others? On Mon, 1 Jul 2019, 04:26 Tonio O, <[email protected]> wrote: > *are you able to build Fineract locally (using ./gradlew clean war)?* No. > > docker version: Docker version 19.03.0-rc2, build f97efcc > docker-compose version: docker-compose version 1.24.0, build 0aa59064 > > On Sun, Jun 30, 2019 at 7:45 PM Steve Conrad <[email protected]> wrote: > >> Hi Tonio - >> >> Not sure why you are seeing this. A couple of questions: are you able to >> build Fineract locally (using ./gradlew clean war)? What versions of docker >> and docker-compose do you have installed? I just built again from scratch >> on my environment using Docker version 18.09 and docker-compose version >> 1.23.2. >> >> Steve >> >> >> On Sun, Jun 30, 2019 at 6:15 PM Tonio O <[email protected]> wrote: >> >>> I get the following exception when using the docker-compose build option: >>> >>> FAILURE: Build failed with an exception. >>> >>> * Where: >>> Script '/fineract/fineract-provider/dependencies.gradle' line: 30 >>> >>> * What went wrong: >>> A problem occurred evaluating script. >>> > Could not find method providedCompile() for arguments [] on object of >>> type >>> org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. >>> >>> * Try: >>> Run with --stacktrace option to get the stack trace. Run with --info or >>> --debug option to get more log output. Run with --scan to get full insights. >>> >>> Steve: Do you have an idea why this is happening >>> >>> >>> On Thu, Jun 20, 2019 at 8:46 AM Steve Conrad <[email protected]> wrote: >>> >>>> Hi Devs - >>>> >>>> I have been working on a 'one-touch' deploy process for Fineract using >>>> Docker and docker-compose. I just submitted a PR with this new >>>> functionality. It allows you to easily create a brand new Fineract instance >>>> on your local machine. You can also use it to run your development >>>> environment in docker. There is a README with instructions, which I will >>>> also post here. If you have any questions, please let me know. >>>> >>>> Thanks, >>>> Steve >>>> >>>> Prerequisites >>>> >>>> - docker and docker-compose installed on your machine >>>> >>>> >>>> <https://github.com/conradsp/fineract/tree/Dockerize/docker#installing-a-new-fineract-instance>Installing >>>> a new Fineract instance >>>> >>>> - Clone the Fineract Github repository >>>> - Navigate to the docker directory >>>> - Run the following commands: >>>> - docker-compose build >>>> - docker-compose up -d >>>> - Fineract will run at https://localhost:8443/fineract-provider >>>> >>>> >>>> <https://github.com/conradsp/fineract/tree/Dockerize/docker#using-docker-compose-for-development>Using >>>> docker-compose for development >>>> >>>> - Copy Dockerfile, docker-compose.yml, and the initdb directory to >>>> the root of your project (/fineract) >>>> - Edit Dockerfile in /fineract - comment out the 2 lines (RUN git >>>> clone and COPY build.gradle) >>>> - Uncomment the 2 lines in Dockerfile (RUN mkdir fineract, COPY . >>>> fineract) >>>> - Update your local copy of build.gradle and replace all references >>>> to localhost with fineractmysql >>>> >>>>
