[ 
https://issues.apache.org/jira/browse/CAMEL-21810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18013863#comment-18013863
 ] 

Pasquale Congiusti edited comment on CAMEL-21810 at 8/14/25 8:43 AM:
---------------------------------------------------------------------

Watchout, the generated Dockerfile are not Quarkus specific. They are actually 
working for all runtimes, ie, CSB:

{code}
$ docker build -f src/main/docker/Dockerfile -t test-csb:1.0 .
[+] Building 42.7s (7/7) FINISHED                                               
                                                                                
 docker:default
 => [internal] load build definition from Dockerfile                            
                                                                                
           0.0s
 ...                                                                            
                                                          0.1s
 => => writing image 
sha256:d5033f37841d524b29a84d73663eef9b4164475be07dfddf3dd1f6643f64e4d3         
                                                                      0.0s
 => => naming to docker.io/library/test-csb:1.0                                 
                                                                                
           0.0s



$ docker run -it test-csb:1.0
INFO exec -a "java" java -XX:MaxRAMPercentage=80.0 -XX:+UseParallelGC 
-XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 
-XX:AdaptiveSizePolicyWeight=90 -XX:+ExitOnOutOfMemoryError -cp "." -jar 
/deployments/Test-1.0-SNAPSHOT.jar 
INFO running in /deployments

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::                (v3.4.2)
...
{code}

It can be misleading that the text into the Dockefile mention it's Quarkus 
specific, but indeed it's general purpose. I am taking this over and changing 
the template not to mislead the final users.


was (Author: squakez):
Watchout, the generated Dockerfile are not Quarkus specific. They are actually 
working for all runtimes, ie, CSB:

{code}
$ docker build -f src/main/docker/Dockerfile -t test-csb:1.0 .
[+] Building 42.7s (7/7) FINISHED                                               
                                                                                
 docker:default
 => [internal] load build definition from Dockerfile                            
                                                                                
           0.0s
 ...                                                                            
                                                          0.1s
 => => writing image 
sha256:d5033f37841d524b29a84d73663eef9b4164475be07dfddf3dd1f6643f64e4d3         
                                                                      0.0s
 => => naming to docker.io/library/test-csb:1.0                                 
                                                                                
           0.0s
squake:~/Desktop/camel/simple-tracer/csb $ docker run -it test-csb:1.0
INFO exec -a "java" java -XX:MaxRAMPercentage=80.0 -XX:+UseParallelGC 
-XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 
-XX:AdaptiveSizePolicyWeight=90 -XX:+ExitOnOutOfMemoryError -cp "." -jar 
/deployments/Test-1.0-SNAPSHOT.jar 
INFO running in /deployments

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::                (v3.4.2)
...
{code}

It can be misleading that the text into the Dockefile mention it's Quarkus 
specific, but indeed it's general purpose. I am taking this over and changing 
the template not to mislead the final users.

> camel-jbang - Generated readme.md and Dockerfile are Quarkus specific
> ---------------------------------------------------------------------
>
>                 Key: CAMEL-21810
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21810
>             Project: Camel
>          Issue Type: Task
>          Components: camel-jbang
>            Reporter: Thomas Diesler
>            Assignee: Pasquale Congiusti
>            Priority: Minor
>             Fix For: 4.x
>
>
> The generated readme.md and Dockerfile are not applicable for runtimes other 
> than Quarkus. Verify that the Dockerfile is indeed that which would come out 
> of JKube



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to