-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile_for_circleci_image
39 lines (32 loc) · 927 Bytes
/
Dockerfile_for_circleci_image
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
# Builds gudhi/ci_for_gudhi on Docker Hub
FROM ubuntu:22.04
# DEBIAN_FRONTEND=noninteractive is used to prevent installation of
# package tzdata to ask for timezone
ENV DEBIAN_FRONTEND=noninteractive
# Required for Gudhi compilation
RUN apt update && apt install -y make \
git \
g++ \
cmake \
perl \
libboost-all-dev \
python3 \
python3-pip \
python3-tk \
python3-grpcio \
libfreetype6-dev \
pkg-config \
curl
ADD build-requirements.txt /
ADD test-requirements.txt /
RUN python3 -m pip install --user -r build-requirements.txt
RUN python3 -m pip --no-cache-dir install --user -r test-requirements.txt
# Try to do the same layers as Dockerfile_for_circle_ci_image_without_cgal
RUN apt install -y libeigen3-dev \
libgmp3-dev \
libmpfr-dev \
libtbb-dev
ADD install_cgal.sh /
RUN sh install_cgal.sh
# apt clean up
RUN apt autoremove && rm -rf /var/lib/apt/lists/*