Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Few issues observed with Gradle and Docker #147

Open
anothergoodguy opened this issue Jun 8, 2024 · 1 comment
Open

Few issues observed with Gradle and Docker #147

anothergoodguy opened this issue Jun 8, 2024 · 1 comment

Comments

@anothergoodguy
Copy link

anothergoodguy commented Jun 8, 2024

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
  • [ X] Checking this box is mandatory (this is just to show you read everything)
@mshima
Copy link
Member

mshima commented Jun 26, 2024

@anothergoodguy can you contribute with a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants