[ 
https://issues.apache.org/jira/browse/CAMEL-23871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-23871.
---------------------------------
    Resolution: Fixed

> 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: Improvement
>          Components: camel-jbang
>            Reporter: Cameron Fitzwater
>            Priority: Minor
>             Fix For: 4.22.0
>
>
> 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