Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- is blocked by
-
FINERACT-700 Upgrade ancient version of Gradle
- Resolved
- links to