Mercurial > hg > orthanc-java
changeset 54:d8a4ecf81642 default tip
fix Dockerfile
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Wed, 25 Jun 2025 15:58:19 +0200 (12 days ago) |
parents | f9f82b07f05b |
children | |
files | CodeGeneration/Dockerfile |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/CodeGeneration/Dockerfile Fri May 30 21:48:14 2025 +0200 +++ b/CodeGeneration/Dockerfile Wed Jun 25 15:58:19 2025 +0200 @@ -4,10 +4,11 @@ # #### sample usage to build the image: +# cd CodeGeneration # docker build -t code-model-generator . ### sample usage to generate a CodeModel.json in /tmp on your machine (note, it assumes you have an 'orthanc' folder at the same level as 'orthanc-java' folder) -# docker run --rm -v /tmp:/out -v $(pwd):/app -v $(pwd)/../../orthanc/OrthancServer/Plugins/Include/orthanc/:/sdk code-model-generator python3 ParseOrthancSDK.py --libclang /usr/lib/x86_64-linux-gnu/libclang-6.0.so.1 --source /sdk/OrthancCPlugin.h --target /out/CodeModel.json +# docker run --rm -v /tmp:/out -v $(pwd):/app -v $(pwd)/../OrthancSDKVersion.cmake:/OrthancSDKVersion.cmake -v $(pwd)/../../orthanc/OrthancServer/Plugins/Include/orthanc/:/sdk code-model-generator python3 ParseOrthancSDK.py --libclang /usr/lib/x86_64-linux-gnu/libclang-6.0.so.1 --source /sdk/OrthancCPlugin.h --target /out/CodeModel.json FROM ubuntu:18.04