forked from InsightSoftwareConsortium/covalic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
37 lines (30 loc) · 799 Bytes
/
Copy pathDockerfile
File metadata and controls
37 lines (30 loc) · 799 Bytes
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
36
37
FROM ubuntu:14.04
MAINTAINER Zach Mullen <zach.mullen@kitware.com>
RUN mkdir /covalic
RUN mkdir /covalic/_build
WORKDIR /covalic/_build
COPY CMake /covalic/CMake
COPY Code /covalic/Code
COPY Documentation /covalic/Documentation
COPY Utilities /covalic/Utilities
COPY CMakeLists.txt /covalic/CMakeLists.txt
COPY Python /covalic/Python
# Install system prerequisites
RUN apt-get update && apt-get install -y \
build-essential \
cmake \
freeglut3-dev \
git \
mesa-common-dev \
python \
python-pip \
libpython-dev \
liblapack-dev \
gfortran
RUN pip install numpy scipy
# Install SimpleITK
RUN easy_install SimpleITK
# Perform superbuild of covalic scoring metrics
RUN cmake /covalic
RUN make -j4
ENTRYPOINT ["python", "/covalic/Python/scoreSubmission.py"]