Michael Vorburger.ch created FINERACT-772:
---------------------------------------------

             Summary: Fineract Docker build fails on Fedora 30 with Podman 
instead of Docker, possibly due to ancient Gradle version
                 Key: FINERACT-772
                 URL: https://issues.apache.org/jira/browse/FINERACT-772
             Project: Apache Fineract
          Issue Type: Bug
            Reporter: Michael Vorburger.ch
            Assignee: Michael Vorburger.ch


When I run {{docker build -t fineract .}} from 
https://github.com/apache/fineract/pull/593 on Fedora 30 where I use Podman 
(sudo dnf install podman-docker) instead of Docker CE, then it fails for me 
like this:

{{Unzipping 
/root/.gradle/wrapper/dists/gradle-2.10-bin/baigpnfu14tdk6ztbfwcl8275/gradle-2.10-bin.zip
 to /root/.gradle/wrapper/dists/gradle-2.10-bin/baigpnfu14tdk6ztbfwcl8275
Set executable permissions for: 
/root/.gradle/wrapper/dists/gradle-2.10-bin/baigpnfu14tdk6ztbfwcl8275/gradle-2.10/bin/gradle

FAILURE: Build failed with an exception.

* What went wrong:
Could not open terminal for stdout: $TERM not set

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output.
Error: error building at STEP "RUN ./gradlew clean war": error while running 
runtime: exit status 1}}

I haven't investigated it further, but it looks like the ancient Gradle version 
2.10 we still use in Fineract can't handle it if there is no $TERM set.

Surprised that it works under Docker CE and not Podman (they should be very 
similar otherwise, for this kind of "build a simple Java app"), but unless 
other people hit this as well I'm going to suspect it's a problem specific only 
to Podman, so not a big deal (most people just use Docker, of course).

I'll just park this, and retry it once FINERACT-700 upgraded Gradle.

[~conradsp] [~awasum] just FYI (no action required)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to