-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow AppCDS generation from using a builder image
The is useful when the building JVM version is not the same as the runtime JVM version
- Loading branch information
Showing
3 changed files
with
146 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...ment/src/main/java/io/quarkus/deployment/pkg/builditem/AppCDSContainerImageBuildItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package io.quarkus.deployment.pkg.builditem; | ||
|
||
import io.quarkus.builder.item.SimpleBuildItem; | ||
|
||
/** | ||
* Indicates that a specific container image should be used to generate the AppCDS file | ||
*/ | ||
public final class AppCDSContainerImageBuildItem extends SimpleBuildItem { | ||
|
||
private final String containerImage; | ||
|
||
public AppCDSContainerImageBuildItem(String containerImage) { | ||
this.containerImage = containerImage; | ||
} | ||
|
||
public String getContainerImage() { | ||
return containerImage; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters