Docker file fails to build
See original GitHub issue- Please follow the issue template below for bug reports and feature requests.
- Tickets opened without any of these informations will be closed without any explanation.
Overview of the issue
Unable to build Docker image
Motivation for or Use Case
Needed for Docker
Reproduce the error
run: gradle buildDocker
Related issues
I dunno?
Suggest a Fix
Change references from: war to: jar
In src/main/Docker/Dockerfile gradle/docker.gradle
JHipster Version(s)
latest
JHipster configuration
n/a
Entity configuration(s) entityName.json
files generated in the .jhipster
directory
n/a
Browsers and Operating System
Windows10
- Checking this box is mandatory (this is just to show you read everything)
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (8 by maintainers)
Top Results From Across the Web
How to debug build failures - Docker Community Forums
I've written a guide on how to debug docker builds like that. In short, look at the container ID of the failed step,...
Read more >Make docker build fail if tests fail - Stack Overflow
RUN in a Dockerfile will fail if the exit code of the command is non-zero. If that happens, docker build will also fail...
Read more >Docker: “build” Requires 1 Argument Error - Baeldung
The most common reason for “Docker build Requires 1 Argument” error is when we try to build the image without providing sufficient arguments....
Read more >debugging a failed docker build (intermediate) anthony ...
today we talk about two techniques for debugging a failed docker build !- how does docker work? https://youtu.be/tWvQAxkMaWsplaylist: ...
Read more >Docker build fails while Visual Studio 2022 is open, succeeds ...
This is when running docker build via docker compose for an ASP.NET Core project. The error only reproduces while Visual Studio 2022 is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@MitchDresdner : your messages are very hard to read…
Anyway, your logs indicate your problem:
Your command is not enough:
gradle buildDocker
You need the war file, so it is:
gradle bootRepackage buildDocker
Sorry but I’m not even reading this…