Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.

Dockerfile Error - Executing Wrong Jar #236

Closed
dylanrichards opened this issue Jun 17, 2021 · 1 comment
Closed

Dockerfile Error - Executing Wrong Jar #236

dylanrichards opened this issue Jun 17, 2021 · 1 comment
Labels
wontfix This will not be worked on

Comments

@dylanrichards
Copy link

Affects: <latest - 3.4.20>.


When running the docker image the error no main manifest attribute, in api-javadoc.jar is displayed. This is due to the command running *.jar instead of api.jar.

Solution:
Only copy the api.jar and remove the wildcard. This will reduce the docker image size as well.

dylanrichards added a commit to dylanrichards/api that referenced this issue Jun 18, 2021
Changed line 5 to create the parent directory. Added the PROJ_JAR environment variable similar to api-audit. Only copied the needed jar file. Changed execution from wildcard to the PROJ_JAR.
@stale
Copy link

stale bot commented Aug 22, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Aug 22, 2021
@stale stale bot closed this as completed Sep 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant