Mercurial > hg > orthanc-authorization
view Dockerfile @ 19:02c83c12d3d5
added jenkins build
author | am@osimis.io |
---|---|
date | Thu, 19 Jul 2018 15:04:00 +0200 |
parents | |
children |
line wrap: on
line source
FROM jodogne/orthanc:1.2.0 WORKDIR /root/source RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get -y install \ libxml++2.6-dev libxml++2.6-doc uuid-dev \ git \ python3-dev \ python3.4-venv \ python3-pip && \ rm -rf /var/lib/apt/lists/* # Used to copy the plugin to AWS after successful integration tests RUN pip3 install awscli COPY . /root/source/ # Build the plugin RUN mkdir /root/build/ WORKDIR /root/build RUN cmake -DALLOW_DOWNLOADS=ON \ -DSTATIC_BUILD=ON \ -DCMAKE_BUILD_TYPE=Release \ /root/source RUN make "--jobs=$(grep --count ^processor /proc/cpuinfo)" RUN make install ENTRYPOINT [ "Orthanc" ] CMD [ "/etc/orthanc/" ]