-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile
48 lines (43 loc) · 1.2 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
FROM ubuntu:20.04
WORKDIR /root
# Fetch packages Dependancies
RUN apt-get update &&\
apt-get upgrade -y &&\
apt-get install -y\
build-essential \
wget \
apt-utils \
libgmp-dev \
libmpfr-dev \
libblas3 \
libboost-all-dev \
liblapack3 \
liblapack-dev \
libatlas3-base \
libatlas-base-dev \
python3.6 \
git \
pybind11-dev \
libarmadillo-dev \
libcgal-dev \
python3-pip \
libcurl4 \
libssl-dev \
libcurl4-openssl-dev &&\
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Python Depndancies
RUN pip3 install numpy pyproj Pillow h5py lxml shapely descartes meshio pytest setuptools pipenv pyyaml requests
# Cmake
RUN wget https://github.com/Kitware/CMake/releases/download/v3.16.5/cmake-3.16.5.tar.gz \
&& tar -zxvf cmake-3.16.5.tar.gz \
&& rm cmake-3.16.5.tar.gz \
&& cd cmake-3.16.5 \
&& ./bootstrap \
&& make \
&& make install
# Github resources
RUN mkdir lib && cd lib && \
git clone https://github.com/boostorg/geometry.git --branch=boost-1.71.0 &&\
git clone https://github.com/HowardHinnant/date.git &&\
git clone https://github.com/catchorg/Catch2.git --branch=v2.10.2 catch2