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

[package] Error packaging Docker image with single-jar distribution #982

Closed
jruaux opened this issue Oct 17, 2022 · 1 comment
Closed

[package] Error packaging Docker image with single-jar distribution #982

jruaux opened this issue Oct 17, 2022 · 1 comment
Assignees
Labels
bug Something isn't working released Issue has been released
Milestone

Comments

@jruaux
Copy link
Contributor

jruaux commented Oct 17, 2022

With a single-jar distribution the following error occurs in the Docker image build:
can't create directory '/myapp/': Not a directory

This seems to be caused by a clash between target assembly subdirectory and executable names. Both default to {{distributionName}}) in the Dockerfile template so mkdir fails:

COPY assembly/ /

RUN mkdir -p /{{distributionName}}/bin && \

Workaround is simple enough (set executable name for the distribution) but it would be nice to have it work with defaults.

@jruaux jruaux added the bug Something isn't working label Oct 17, 2022
@aalmiray aalmiray changed the title Error packaging Docker image with single-jar distribution [package] Error packaging Docker image with single-jar distribution Oct 17, 2022
@aalmiray aalmiray self-assigned this Oct 27, 2022
@aalmiray aalmiray added this to the v1.3.0 milestone Oct 27, 2022
@aalmiray
Copy link
Member

@aalmiray aalmiray added the released Issue has been released label Oct 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released Issue has been released
Projects
None yet
Development

No branches or pull requests

2 participants