Skip to content

Commit

Permalink
Merge pull request #2 from interline-io:3.5.0
Browse files Browse the repository at this point in the history
update to Valhalla 3.5.0
  • Loading branch information
drewda authored Sep 10, 2024
2 parents 96d2d28 + e37377e commit 497145d
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
# ############ STAGE 1 ################
# #####################################

ARG VALHALLA_VERSION=3.4.0
ARG VALHALLA_COMMIT=cbabe7cfbad2225090e4c006c778f1f0a7b3ec4e
ARG PRIME_SERVER_COMMIT=eaa396342417323d1a80fc649ddc66cc5a221dbc
FROM ubuntu:22.04
ARG VALHALLA_VERSION=3.5.0
ARG VALHALLA_COMMIT=572c334cd21015fe75ac489cd001f79649d41d44
ARG PRIME_SERVER_COMMIT=4508553b2dd29fadfafcc7c766aa6e9b94455fcb
FROM ubuntu:24.04
ARG VALHALLA_VERSION
ARG VALHALLA_COMMIT
ARG PRIME_SERVER_COMMIT
Expand All @@ -28,6 +28,7 @@ RUN apt-get update && apt-get install -y \
jq \
lcov \
libbz2-dev \
libboost-all-dev \
libcurl4-openssl-dev \
libczmq-dev \
libexpat1-dev \
Expand All @@ -46,7 +47,7 @@ RUN apt-get update && apt-get install -y \
osmctools \
osmosis \
parallel \
pkg-config \
pkgconf \
protobuf-compiler \
python3-all-dev \
python3-pip \
Expand All @@ -60,8 +61,6 @@ RUN apt-get update && apt-get install -y \
RUN curl -sSL https://github.com/Kitware/CMake/releases/download/v3.21.1/cmake-3.21.1-linux-x86_64.tar.gz | tar -xzC /opt
ENV PATH="/opt/cmake-3.21.1-linux-x86_64/bin/:${PATH}"

RUN pip install --upgrade "conan<2.0.0"

RUN mkdir -p /src && cd /src

# prime_server
Expand All @@ -70,13 +69,13 @@ RUN git clone https://github.com/kevinkreiser/prime_server.git && (cd prime_serv
# valhalla
# NOTE: -DENABLE_BENCHMARKS=OFF is because of https://github.com/valhalla/valhalla/issues/3200
# NOTE: -ENABLE_SINGLE_FILES_WERROR=OFF because of https://github.com/valhalla/valhalla/issues/3157
RUN git clone https://github.com/valhalla/valhalla.git && (cd valhalla && git checkout ${VALHALLA_COMMIT} -b build && git submodule update --init --recursive && mkdir -p build && cd build && cmake .. -DCMAKE_C_COMPILER=gcc -DPKG_CONFIG_PATH=/usr/local/lib/pkgconfig -DCMAKE_BUILD_TYPE=Release -DENABLE_NODE_BINDINGS=OFF -DENABLE_BENCHMARKS=OFF -DENABLE_SINGLE_FILES_WERROR=OFF && make -j2 install) && rm -rf /src
RUN git clone https://github.com/valhalla/valhalla.git && (cd valhalla && git checkout ${VALHALLA_COMMIT} -b build && git submodule update --init --recursive && mkdir -p build && cd build && cmake .. -DCMAKE_C_COMPILER=gcc -DPKG_CONFIG_PATH=/usr/local/lib/pkgconfig -DCMAKE_BUILD_TYPE=Release -DENABLE_NODE_BINDINGS=OFF -DENABLE_PYTHON_BINDINGS=OFF -DENABLE_BENCHMARKS=OFF -DENABLE_SINGLE_FILES_WERROR=OFF && make -j2 install) && rm -rf /src

# #####################################
# ############ STAGE 2 ################
# #####################################

FROM ubuntu:22.04
FROM ubuntu:24.04
ARG VALHALLA_VERSION
ARG VALHALLA_CONCURRENCY=1

Expand Down

0 comments on commit 497145d

Please sign in to comment.