The general way of doing builds expects a build phase where a docker image is 
generated.

In some cases, when there are no additional dependencies to load respect to 
"camel-core" (or respect to a "prebuilt context" we will add in the future), 
there's no need to build a docker image and we can run the integration directly.

We can mount the source file as configmap and load it directly in the runtime.

File mounting will also be the preferred strategy when dealing with ".js" files 
(independently of the build phase).

For the first stage, we can add a new strategy to the CR. When selected, the 
build will be performed without the source file, that will be later added at 
pod startup (e.g. mounted in a configmap). Later-on, we will add contexts to 
skip the build phase.

[ Full content available at: https://github.com/apache/camel-k/issues/31 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to