-
Notifications
You must be signed in to change notification settings - Fork 33
/
Dockerfile
35 lines (30 loc) · 696 Bytes
/
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
FROM debian:bookworm-slim
LABEL maintainer="[email protected]"
RUN apt-get update && apt-get install -y \
build-essential \
cmake \
curl \
doxygen \
gdal-bin \
git \
graphviz \
libgdal-dev \
libgeos-dev \
python3-dev \
python3-pybind11 \
python3-pytest \
unzip \
wget
COPY . /exactextract
RUN mkdir /cmake-build-release && \
cd /cmake-build-release && \
cmake -DCMAKE_BUILD_TYPE=Release \
-DBUILD_CLI=YES \
-DBUILD_DOC=NO \
-DBUILD_PYTHON=YES \
/exactextract && \
cmake --build . && \
ctest --output-on-failure && \
cmake --install . && \
rm -rf /cmake-build-release
ENTRYPOINT ["exactextract"]