-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (15 loc) · 818 Bytes
/
Dockerfile
File metadata and controls
21 lines (15 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM ubuntu:18.04
ENV CC=gcc-5
ENV CXX=g++-5
RUN apt-get update && apt-get install -y git cmake gcc-5 g++-5 libzmq3-dev
WORKDIR /home
RUN git clone --branch v2.0.0 https://github.com/google/flatbuffers.git && cd flatbuffers && cmake -G "Unix Makefiles" && make install
RUN git clone --branch 0.6.13 https://github.com/QuantStack/xtl.git && cd xtl && cmake . && make install
RUN git clone --branch 0.21.4 https://github.com/QuantStack/xtensor.git && cd xtensor && cmake . && make install
COPY . ./pyprob_cpp
RUN cd pyprob_cpp && rm -rf build && mkdir build && cd build && cmake ../src && cmake --build . && make install
ARG GIT_COMMIT="unknown"
LABEL project="pyprob_cpp"
LABEL url="https://github.com/pyprob/pyprob_cpp"
LABEL maintainer="Atilim Gunes Baydin <gunes@robots.ox.ac.uk>"
LABEL git_commit=$GIT_COMMIT