-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jcastro
committed
Mar 10, 2023
1 parent
48e4d10
commit 04dfc47
Showing
6 changed files
with
27 additions
and
8 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[metadata] | ||
name = camel-xml2dsl | ||
version = 0.0.24 | ||
version = 0.0.25 | ||
author = Jorge Castro | ||
author_email = [email protected] | ||
description = xml definition to dsl definition routes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
Metadata-Version: 2.1 | ||
Name: camel-xml2dsl | ||
Version: 0.0.24 | ||
Version: 0.0.25 | ||
Summary: xml definition to dsl definition routes | ||
Home-page: https://github.com/jorgecastro05/script-aro.git | ||
Author: Jorge Castro | ||
Author-email: [email protected] | ||
License: UNKNOWN | ||
Project-URL: Bug Tracker, https://github.com/jorgecastro05/script-aro.git | ||
Platform: UNKNOWN | ||
Classifier: Programming Language :: Python :: 3 | ||
Classifier: License :: OSI Approved :: MIT License | ||
Classifier: Operating System :: OS Independent | ||
|
@@ -40,5 +38,26 @@ build and install | |
|
||
python -m build && pip install dist/camel_xml2dsl-0.0.1-py3-none-any.whl --force-reinstall | ||
|
||
### Docker run | ||
|
||
A dockerfile is provided for creating the app container image, can be used with docker or podman. | ||
|
||
Example with podman: | ||
|
||
podman build -t xml2dsl . | ||
|
||
Example with docker | ||
|
||
docker build -t xml2dsl . | ||
|
||
For run the app mount a volume where the xml is located and run the container in interactive mode: | ||
|
||
podman run --privileged -it -v /home/user/Downloads/:/app:ro xml2dsl:latest /bin/bash | ||
|
||
docker run -it -v /home/user/Downloads/:/app:ro xml2dsl:latest /bin/bash | ||
|
||
|
||
Then run the utility | ||
|
||
xml2dsl --xml context.xml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters