aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2022-01-12 19:08:18 +0100
committerEven Rouault <even.rouault@spatialys.com>2022-01-12 19:08:18 +0100
commiteb8924318c8dcca06128f1d6d38ed9a6150b7b63 (patch)
tree8cd4ca17d99d1112c90ed676e626f7a95beb5083 /Dockerfile
parent2a5facf9152339e8f30592c1f31c3c9abb39e6b7 (diff)
downloadPROJ-eb8924318c8dcca06128f1d6d38ed9a6150b7b63.tar.gz
PROJ-eb8924318c8dcca06128f1d6d38ed9a6150b7b63.zip
Dockerfile: build PROJ with cmake (refs #2688)
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 9a2c44b3..f1535bf1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -18,8 +18,9 @@ RUN apt-get update -y \
COPY . /PROJ
RUN cd /PROJ \
- && ./autogen.sh \
- && ./configure --prefix=/usr \
+ && mkdir build \
+ && cd build \
+ && cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF \
&& make -j$(nproc) \
&& make install