jhipster / generator-jhipster-native

Apache License 2.0
43 stars 9 forks source link

Few issues observed with Gradle and Docker #147

Open anothergoodguy opened 3 months ago

anothergoodguy commented 3 months ago
Overview of the issue

Observed 2 issues on an example application generated with jhipster-native: I only observed the issues with docker, it works fine with npm run native-package & npm run native-start

  1. Docker Build issue: a. Generated an example application with gradle as a build tool with jhipster-native. b. attempted to build the docker image with ./gradlew clean -Pdev bootBuildImage the attached error is thrown build-log.log c. Have updated the the native.gradle file as attached the, build works fine native.gradle

  2. Docker Run Issue: a. Tried running the docker after updating the build with above step with the attached docker-compose.yml b. I get the errors attached in the log file:
    docker-run-log.log

Motivation for or Use Case

Regular Gradle based application as me and my team are more familier with gradle

Reproduce the error

Please use the steps in the overview section to re-produce...

Related issues
Suggest a Fix

partial fix suggested in native.gradle

JHipster Version(s)

`

JHipster: 8.5.0 JHipster-native: 2.2.0

JHipster configuration

yo-rc.json

Entity configuration(s) entityName.json files generated in the .jhipster directory

N/A

Browsers and Operating System
  1. OS: MAC-OS - Sonoma - 14.5 (23F79)
  2. Docker Version details:
    • Engine: 26.1.1
    • Compose: v2.27.0-desktop.2
    • Credential Helper: v0.8.1
    • Kubernetes: v1.29.2
mshima commented 2 months ago

@anothergoodguy can you contribute with a PR?