| 1 | # alternative to Xmake approach |
| 2 | |
| 3 | Repository: https://int.repositories.cloud.sap/ui/repos/tree/General/emobility |
| 4 | |
| 5 | [Permissions](https://int.repositories.cloud.sap/ui/admin/management/permissions/edit/emobility%20-%20permission) |
| 6 | |
| 7 | ### How to build and publish this Docker image |
| 8 | |
| 9 | - REPOSITORY_NAME - repo name in SAP artifactory |
| 10 | - HOST - usually is int.repositories.cloud.sap |
| 11 | - IMAGE_NAME - docker container image name |
| 12 | - TAG - image tag |
| 13 | |
| 14 | ```sh |
| 15 | docker build -t <YOUR_REPOSITORY>.<HOST>/<IMAGE_NAME>:<TAG> . |
| 16 | ``` |
| 17 | |
| 18 | ```sh |
| 19 | docker push <YOUR_REPOSITORY>.<HOST>/<IMAGE_NAME>:<TAG> |
| 20 | ``` |
| 21 | |
| 22 | ### Example |
| 23 | |
| 24 | ```sh |
| 25 | docker build -t emobility.int.repositories.cloud.sap/mbt-docker:latest . |
| 26 | ``` |
| 27 | |
| 28 | ```sh |
| 29 | docker push emobility.int.repositories.cloud.sap/mbt-docker:latest |
| 30 | ``` |