-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (28 loc) · 776 Bytes
/
Dockerfile
File metadata and controls
34 lines (28 loc) · 776 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
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
# Perform superbuild of covalic scoring metrics
RUN cmake -DBUILD_TESTING:BOOL=OFF /covalic
RUN make -j2
ENTRYPOINT ["python", "/covalic/Python/scoreSubmission.py"]