We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dba691 commit 557b989Copy full SHA for 557b989
samples/hello-quarkus/pack.java
@@ -44,6 +44,9 @@ public static void main(String... args) {
44
45
String JDK="17";
46
47
+ Map<String,String> envMap = new java.util.HashMap<>();
48
+ envMap.put("BP_JVM_VERSION",JDK);
49
+
50
int exitCode = BuildConfig.builder()
51
//.withBuilderImage(new ImageReference("docker.io/paketocommunity/builder-ubi-base"))
52
.withBuilderImage(new ImageReference("quay.io/ozzydweller/testbuilders:paketo-default"))
@@ -53,7 +56,7 @@ public static void main(String... args) {
53
56
.and()
54
57
.withNewPlatformConfig()
55
58
.withPhaseDebugScript(debugScript)
- .withEnvironment(Map.of("BP_JVM_VERSION",JDK))
59
+ .withEnvironment(envMap)
60
61
.withNewLogConfig()
62
.withLogger(new SystemLogger())
0 commit comments