Mercurial > hg > orthanc-python
view CodeAnalysis/Dockerfile @ 168:f5f3cc819f7a OrthancPython-4.0
closing OrthancPython-4.0
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 30 May 2024 22:28:41 +0200 |
parents | 465bf098554b |
children | 8b310d571e5b |
line wrap: on
line source
FROM ubuntu:18.04 RUN export DEBIAN_FRONTEND=noninteractive RUN apt-get --assume-yes update RUN apt-get --assume-yes install build-essential RUN apt-get --assume-yes install python-clang-4.0 RUN apt-get --assume-yes install python-pip RUN apt-get --assume-yes install clang-4.0 # force pystache 0.5.0 (last version supported for python 2.7) RUN pip install pystache==0.5.0 RUN mkdir /source RUN mkdir /target RUN mkdir /CodeAnalysis COPY *.mustache /CodeAnalysis/ COPY *.py /CodeAnalysis/ ENTRYPOINT ["./CodeAnalysis/ParseOrthancSDK.py"] CMD ["--libclang=libclang-4.0.so.1", "--source", "source/OrthancCPlugin.h", "--target", "target/"]