Skip to content

Commit

Permalink
compiling --features use-proj works now
Browse files Browse the repository at this point in the history
  • Loading branch information
frewsxcv committed May 29, 2020
1 parent f31ab67 commit 9c2310e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions geo-ci.Dockerfile
Expand Up @@ -41,14 +41,17 @@ RUN cargo install cargo-tarpaulin --root /build
# Final stage
# ------------------------------------------------------------------------------

FROM rust:latest
FROM ubuntu:20.04

# Clang is needed to build geo with `--features use-proj`
# clang and libtiff5 are needed to build geo with `--features use-proj`
RUN apt-get update \
&& apt-get install -y \
&& DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends \
cargo \
clang \
rustc
git \
libtiff5 \
rustc \
&& rm -rf /var/lib/apt/lists/*

# Copy PROJ artifacts from proj_builder
COPY --from=proj_builder /build/usr/share/proj/ /usr/share/proj/
Expand Down

0 comments on commit 9c2310e

Please sign in to comment.