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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
97
e37ed36541be added missing files
Alain Mazy <am@osimis.io>
parents:
diff changeset
1 FROM ubuntu:18.04
e37ed36541be added missing files
Alain Mazy <am@osimis.io>
parents:
diff changeset
2
e37ed36541be added missing files
Alain Mazy <am@osimis.io>
parents:
diff changeset
3 RUN export DEBIAN_FRONTEND=noninteractive
e37ed36541be added missing files
Alain Mazy <am@osimis.io>
parents:
diff changeset
4 RUN apt-get --assume-yes update
e37ed36541be added missing files
Alain Mazy <am@osimis.io>
parents:
diff changeset
5 RUN apt-get --assume-yes install build-essential
e37ed36541be added missing files
Alain Mazy <am@osimis.io>
parents:
diff changeset
6 RUN apt-get --assume-yes install python-clang-4.0
e37ed36541be added missing files
Alain Mazy <am@osimis.io>
parents:
diff changeset
7 RUN apt-get --assume-yes install python-pip
e37ed36541be added missing files
Alain Mazy <am@osimis.io>
parents:
diff changeset
8 RUN apt-get --assume-yes install clang-4.0
e37ed36541be added missing files
Alain Mazy <am@osimis.io>
parents:
diff changeset
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
e37ed36541be added missing files
Alain Mazy <am@osimis.io>
parents:
diff changeset
12
e37ed36541be added missing files
Alain Mazy <am@osimis.io>
parents:
diff changeset
13 RUN mkdir /source
e37ed36541be added missing files
Alain Mazy <am@osimis.io>
parents:
diff changeset
14 RUN mkdir /target
e37ed36541be added missing files
Alain Mazy <am@osimis.io>
parents:
diff changeset
15 RUN mkdir /CodeAnalysis
e37ed36541be added missing files
Alain Mazy <am@osimis.io>
parents:
diff changeset
16 COPY *.mustache /CodeAnalysis/
e37ed36541be added missing files
Alain Mazy <am@osimis.io>
parents:
diff changeset
17 COPY *.py /CodeAnalysis/
e37ed36541be added missing files
Alain Mazy <am@osimis.io>
parents:
diff changeset
18
e37ed36541be added missing files
Alain Mazy <am@osimis.io>
parents:
diff changeset
19 ENTRYPOINT ["./CodeAnalysis/ParseOrthancSDK.py"]
e37ed36541be added missing files
Alain Mazy <am@osimis.io>
parents:
diff changeset
20 CMD ["--libclang=libclang-4.0.so.1", "--source", "source/OrthancCPlugin.h", "--target", "target/"]