Cameron Fitzwater created CAMEL-23871:
-----------------------------------------

             Summary: camel-jbang - export to have option to exclude Docker 
generation
                 Key: CAMEL-23871
                 URL: https://issues.apache.org/jira/browse/CAMEL-23871
             Project: Camel
          Issue Type: New Feature
          Components: camel-jbang
            Reporter: Cameron Fitzwater


When using camel jbang to export a project, sometimes, the creation of the 
/src/main/docker directory and associated files is not needed/warrented.

e.g. if planning to use `quarkus-container-image-jib`

If there was a way to set a flag on the the camel export to not have this 
generate, it could help to simplify and reduce confusion.

I understand this can be "solved" by not committing /src/main/docker to the 
repo, but I do believe there should be an option to choose to not have it at 
all.

Only other piece I can think of would be updating the readme.md to not include 
Docker steps if it was excluded.

Idea: Only generate if not disable via a flag:
https://github.com/apache/camel/blob/main/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportCamelMain.java#L164



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

Reply via email to