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

Docker build fails #499

Closed
engapa opened this issue Jan 19, 2022 · 1 comment
Closed

Docker build fails #499

engapa opened this issue Jan 19, 2022 · 1 comment
Milestone

Comments

@engapa
Copy link
Contributor

engapa commented Jan 19, 2022

Describe the bug
Docker build fails due to is using a wrong output directory named "jar" instead "JAR"

To Reproduce
docker build -t widoco .

mv: cannot stat './jar/widoco*.jar': No such file or directory
The command '/bin/sh -c mvn package &&     mv ./jar/widoco*.jar ./jar/widoco.jar' returned a non-zero code: 1

Expected behavior
Docker image is built successfully

Solution
Change directory name of "JAR" to "jar" in pom.xml. Or inverse change in the Dockerfile file

@dgarijo
Copy link
Owner

dgarijo commented Mar 17, 2022

Fixed by b48fb41

@dgarijo dgarijo closed this as completed Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants