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

Add support for mutable-jar package format for container image extensions #15477

Closed
mswiderski opened this issue Mar 4, 2021 · 1 comment · Fixed by #15480
Closed

Add support for mutable-jar package format for container image extensions #15477

mswiderski opened this issue Mar 4, 2021 · 1 comment · Fixed by #15480
Assignees
Labels
Milestone

Comments

@mswiderski
Copy link
Contributor

Description
Currently there is no way to use container image extensions (jib or docker) to build a valid image for remote dev mode. When following the guide on build maven based quarkus app it does not mention this limitation and building the image results in exception at runtime

Exception in thread "main" java.nio.file.NoSuchFileException: /work/lib/deployment/deployment-class-path.dat
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
	at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219)
	at java.base/java.nio.file.Files.newByteChannel(Files.java:370)
	at java.base/java.nio.file.Files.newByteChannel(Files.java:421)
	at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420)
	at java.base/java.nio.file.Files.newInputStream(Files.java:155)
	at io.quarkus.bootstrap.runner.DevModeMediator.doStart(DevModeMediator.java:39)
	at io.quarkus.bootstrap.runner.DevModeMediator.doDevMode(DevModeMediator.java:29)
	at io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:35)
	at io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:25)
@mswiderski mswiderski added the kind/enhancement New feature or request label Mar 4, 2021
@quarkus-bot
Copy link

quarkus-bot bot commented Mar 4, 2021

/cc @geoand

@geoand geoand self-assigned this Mar 4, 2021
geoand added a commit to geoand/quarkus that referenced this issue Mar 4, 2021
geoand added a commit that referenced this issue Mar 5, 2021
Make mutable-jar work with jib in all cases
@quarkus-bot quarkus-bot bot added this to the 1.13 - master milestone Mar 5, 2021
@gsmet gsmet modified the milestones: 1.13 - master, 1.12.2.Final Mar 8, 2021
gsmet pushed a commit to gsmet/quarkus that referenced this issue Mar 8, 2021
This was referenced Mar 12, 2021
This was referenced Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants