diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-02-09 17:29:20 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-02-09 17:29:20 +0100 |
| commit | 8c9ed021c7554efa4eec8f852aac85b301ab5c4b (patch) | |
| tree | 357f134cbf7d1280a9a24434e87bba5c93c05e4f /Dockerfile | |
| parent | 40ca9b0a74ab0c8ef9ab27126b635f931d16be60 (diff) | |
| download | PROJ-8c9ed021c7554efa4eec8f852aac85b301ab5c4b.tar.gz PROJ-8c9ed021c7554efa4eec8f852aac85b301ab5c4b.zip | |
Dockerfile: make it non-git dependent, so that it can work in branches, and Docker Hub builds
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -5,19 +5,19 @@ FROM ubuntu:18.04 as builder MAINTAINER Howard Butler <howard@hobu.co> -ARG PROJ_VERSION=master ARG DESTDIR="/build" # Setup build env RUN apt-get update -y \ && apt-get install -y --fix-missing --no-install-recommends \ software-properties-common build-essential ca-certificates \ - git make cmake wget unzip libtool automake \ + make cmake wget unzip libtool automake \ zlib1g-dev libsqlite3-dev pkg-config sqlite3 libcurl4-gnutls-dev \ libtiff5-dev -RUN git clone --depth 1 --single-branch https://github.com/OSGeo/PROJ.git \ - && cd PROJ \ +COPY . /PROJ + +RUN cd /PROJ \ && ./autogen.sh \ && ./configure --prefix=/usr \ && make -j$(nproc) \ |
