Mercurial > hg > orthanc-authorization
comparison Dockerfile @ 19:02c83c12d3d5
added jenkins build
author | am@osimis.io |
---|---|
date | Thu, 19 Jul 2018 15:04:00 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
15:e252d740436f | 19:02c83c12d3d5 |
---|---|
1 | |
2 FROM jodogne/orthanc:1.2.0 | |
3 | |
4 WORKDIR /root/source | |
5 | |
6 RUN apt-get update && \ | |
7 DEBIAN_FRONTEND=noninteractive apt-get -y install \ | |
8 libxml++2.6-dev libxml++2.6-doc uuid-dev \ | |
9 git \ | |
10 python3-dev \ | |
11 python3.4-venv \ | |
12 python3-pip && \ | |
13 rm -rf /var/lib/apt/lists/* | |
14 | |
15 # Used to copy the plugin to AWS after successful integration tests | |
16 RUN pip3 install awscli | |
17 | |
18 COPY . /root/source/ | |
19 | |
20 # Build the plugin | |
21 RUN mkdir /root/build/ | |
22 WORKDIR /root/build | |
23 RUN cmake -DALLOW_DOWNLOADS=ON \ | |
24 -DSTATIC_BUILD=ON \ | |
25 -DCMAKE_BUILD_TYPE=Release \ | |
26 /root/source | |
27 RUN make "--jobs=$(grep --count ^processor /proc/cpuinfo)" | |
28 RUN make install | |
29 | |
30 ENTRYPOINT [ "Orthanc" ] | |
31 CMD [ "/etc/orthanc/" ] |