File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
samples/build-me/src/main/java/dev/snowdrop Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ public static void main(String... args) {
28
28
29
29
Map <String , String > envMap = new HashMap <>();
30
30
envMap .put ("BP_JVM_VERSION" , "21" );
31
+ // envMap.put("BP_MAVEN_BUILT_ARTIFACT","target/quarkus-app/lib/ target/quarkus-app/*.jar target/quarkus-app/app/ target/quarkus-app/quarkus");
32
+ // envMap.put("CNB_LOG_LEVEL","trace");
31
33
32
34
DockerClient client = getDockerClient ();
33
35
client .authConfig ()
@@ -39,11 +41,7 @@ public static void main(String... args) {
39
41
.withBuilderImage (new ImageReference ("paketocommunity/builder-ubi-base:latest" ))
40
42
.withOutputImage (new ImageReference ("quay.io/snowdrop/my-quarkus-app" ))
41
43
.withNewPlatformConfig ()
42
- .withEnvironment (Map .ofEntries (
43
- Map .entry ("BP_JVM_VERSION" , "21" )
44
- // Map.entry("BP_MAVEN_BUILT_ARTIFACT","target/quarkus-app/lib/ target/quarkus-app/*.jar target/quarkus-app/app/ target/quarkus-app/quarkus"),
45
- // Map.entry("CNB_LOG_LEVEL","trace")
46
- ))
44
+ .withEnvironment (envMap )
47
45
.endPlatformConfig ()
48
46
.withNewDockerConfig ()
49
47
.withDockerClient (client )
You can’t perform that action at this time.
0 commit comments