doru1004 opened a new pull request #1827:
URL: https://github.com/apache/camel-k/pull/1827


   <!-- Description -->
   
   This patch adds command line options for creating, building and running 
local images.
   
   A new local command, `local create` has been added to construct a base image 
to be used as a starter for all integration images. Example of building a base 
image:
   
   ```
   kamel local create --base-image --docker-registry <registry-name>
   ```
   
   The image can then be used as a base for creating and building integration 
images. Example of building an integration image:
   
   ```
   kamel local create --docker-registry <registry-name> --image-name my-image 
-d <dep> -p <prop> --property-file <file> route1.java route2.yaml
   ```
   
   The resoling image can then be run locally using the following invocation:
   
   ```
   kamel local run --docker-registry <registry-name> --image-name my-image
   ```
   
   Local run has been enhanced with containerization capabilities i.e. it can 
now create, build and run container images locally. The following command 
containerizes and runs the integration:
   
   ```
   kamel local run --containerize --docker-registry <registry-name> 
--image-name my-image -d <dep> -p <prop> --property-file <file> route1.java 
route2.yaml
   ```
   
   
   <!--
   Enter your extended release note in the below block. If the PR requires
   additional action from users switching to the new release, include the string
   "action required". If no release note is required, write "NONE". 
   
   You can (optionally) mark this PR with labels "kind/bug" or "kind/feature" 
to make sure
   the text is added to the right section of the release notes. 
   -->
   
   **Release Note**
   ```release-note
   "kind/feature"
   ```
   


----------------------------------------------------------------
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.

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


Reply via email to