You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
aalmiray
changed the title
Error packaging Docker image with single-jar distribution
[package] Error packaging Docker image with single-jar distribution
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 somkdir
fails:Workaround is simple enough (set executable name for the distribution) but it would be nice to have it work with defaults.
The text was updated successfully, but these errors were encountered: