-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile
35 lines (26 loc) · 865 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM ubuntu:lunar
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get -q --fix-missing update -y
# to install dicomweb and other plugins, see
# https://book.orthanc-server.com/users/debian-packages.html#installation
RUN apt-get -q install -y orthanc libssl-dev
# indexer plugin dependencies
RUN apt-get -q install -y git mercurial cmake make g++ patch unzip libcurl4-openssl-dev libboost-iostreams-dev
EXPOSE 11112
EXPOSE 8042
ARG TARGETARCH
RUN mkdir -p /images
RUN mkdir -p /root/src
RUN mkdir -p /root/keys
RUN mkdir -p /root/orthanc-index
WORKDIR /root/src
# Indexer plugin to sync with the caMicroscope folder
COPY build_orthanc_indexer.sh .
ARG indexer
run echo $indexer
RUN chmod a+x build_orthanc_indexer.sh
RUN ./build_orthanc_indexer.sh $indexer
RUN chmod a+x libOrthancIndexer.so
COPY . .
# --verbose-plugins
CMD Orthanc /root/src/Configuration.json