davsclaus commented on code in PR #18703:
URL: https://github.com/apache/camel/pull/18703#discussion_r2227834547


##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java:
##########
@@ -327,7 +327,8 @@ protected void copyDockerFiles(String buildDir) throws 
Exception {
         Path docker = Path.of(buildDir).resolve("src/main/docker");
         Files.createDirectories(docker);
         String[] ids = gav.split(":");
-        InputStream is = 
ExportCamelMain.class.getClassLoader().getResourceAsStream("templates/Dockerfile.tmpl");
+        InputStream is
+                = 
ExportCamelMain.class.getClassLoader().getResourceAsStream("templates/Dockerfile"
 + javaVersion + ".tmpl");

Review Comment:
   ok we use 21 as default and only 17 if choosen



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to