# HG changeset patch # User Alain Mazy # Date 1760106157 -7200 # Node ID 8e5e3432264cb6b75ec94164d65e78ef08d502ff # Parent c7b8b04b42cca22f4ddac14b7ca172b91ab7639a# Parent c1329456dd808c881cdac3aaa9fcc3e678c12c6b merge diff -r c1329456dd80 -r 8e5e3432264c CodeGeneration/Dockerfile --- a/CodeGeneration/Dockerfile Mon Sep 01 11:14:05 2025 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -# -# SPDX-FileCopyrightText: 2023-2025 Sebastien Jodogne, ICTEAM UCLouvain, Belgium -# SPDX-License-Identifier: GPL-3.0-or-later -# - -#### 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)/../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 - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt-get update && apt-get install -y \ - python3 \ - python3-pip - - -RUN apt-get install -y clang-6.0 - -RUN pip3 install pystache -RUN pip3 install clang==6.0.0 - -WORKDIR /app