Mercurial > hg > orthanc-python
annotate CodeAnalysis/Dockerfile @ 114:65ec5597ec70
upgrade to year 2023
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 28 Mar 2023 17:35:14 +0200 |
parents | 465bf098554b |
children | 8b310d571e5b |
rev | line source |
---|---|
97 | 1 FROM ubuntu:18.04 |
2 | |
3 RUN export DEBIAN_FRONTEND=noninteractive | |
4 RUN apt-get --assume-yes update | |
5 RUN apt-get --assume-yes install build-essential | |
6 RUN apt-get --assume-yes install python-clang-4.0 | |
7 RUN apt-get --assume-yes install python-pip | |
8 RUN apt-get --assume-yes install clang-4.0 | |
9 | |
99
465bf098554b
new callback: orthanc.RegisterReceivedInstanceCallback()
Alain Mazy <am@osimis.io>
parents:
97
diff
changeset
|
10 # force pystache 0.5.0 (last version supported for python 2.7) |
465bf098554b
new callback: orthanc.RegisterReceivedInstanceCallback()
Alain Mazy <am@osimis.io>
parents:
97
diff
changeset
|
11 RUN pip install pystache==0.5.0 |
97 | 12 |
13 RUN mkdir /source | |
14 RUN mkdir /target | |
15 RUN mkdir /CodeAnalysis | |
16 COPY *.mustache /CodeAnalysis/ | |
17 COPY *.py /CodeAnalysis/ | |
18 | |
19 ENTRYPOINT ["./CodeAnalysis/ParseOrthancSDK.py"] | |
20 CMD ["--libclang=libclang-4.0.so.1", "--source", "source/OrthancCPlugin.h", "--target", "target/"] |