Skip to content

Commit 74318bf

Browse files
committed
feat(osrm): upgrade to 6.0.0. feat(valhalla): 3.6.1
1 parent c84f1a2 commit 74318bf

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

changelog.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# CHANGELOG
22

3+
## 4.0.0
4+
UPDATED :
5+
- (breaking) upgrade OSRM to 6.0.0
6+
- upgrade Valhalla to 3.6.1, using main repo instead of custom one
7+
38
## 3.1.5
49
FIXED :
510
- database manager does not raie error when retries have failed
@@ -18,7 +23,7 @@ CHANGED:
1823

1924
## 3.1.0
2025
ADDED:
21-
- fields vla_par_defaut, cout_penalites, vehicule_leger_interdit, cout_vehicule_prioritaire
26+
- fields vla_par_defaut, cout_penalites, vehicule_leger_interdit, cout_vehicule_prioritaire
2227

2328
## 3.0.0
2429
REMOVED:

docker/debian/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.10.9-slim-bullseye as build
1+
FROM python:3.10.19-slim-trixie as build
22

33
### Installation des dépendances
44
RUN apt update && apt install -y wget git g++ cmake libboost-dev libboost-filesystem-dev libboost-thread-dev \
@@ -9,7 +9,7 @@ RUN apt update && apt install -y wget git g++ cmake libboost-dev libboost-filesy
99

1010
### Installation d'OSRM
1111
WORKDIR /home/osrm/
12-
RUN wget https://github.com/Project-OSRM/osrm-backend/archive/v5.26.0.tar.gz && tar -xzf v5.26.0.tar.gz && cd osrm-backend-5.26.0 && \
12+
RUN wget https://github.com/Project-OSRM/osrm-backend/archive/v6.0.0.tar.gz && tar -xzf v6.0.0.tar.gz && cd osrm-backend-6.0.0 && \
1313
mkdir -p build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release && cmake --build . && cmake --build . --target package
1414

1515
### Installation de Valhalla
@@ -27,7 +27,7 @@ cmake -B build . && cmake --build build && make -C build install
2727

2828
WORKDIR /home/valhalla/
2929
RUN pip install --upgrade "conan<2.0.0"
30-
RUN git clone --branch 3.2.0-with_hard_exclude --depth 1 --recursive https://github.com/IGNF/valhalla.git && cd valhalla && \
30+
RUN git clone --branch 3.6.1 --depth 1 --recursive https://github.com/valhalla/valhalla.git && cd valhalla && \
3131
mkdir build && cmake -B build -DCMAKE_BUILD_TYPE=Release && make -C build && make -C build package
3232

3333
FROM python:3.10.9-slim-bullseye as r2gg
@@ -51,7 +51,7 @@ RUN apt-get update && \
5151
RUN apt-get install -y git libcurl4-openssl-dev libzmq3-dev libczmq-dev
5252

5353
### Installation d'OSRM
54-
COPY --from=build /home/osrm/osrm-backend-5.26.0/build/OSRM-0.1.1-Linux.tar.gz ./
54+
COPY --from=build /home/osrm/osrm-backend-6.0.0/build/OSRM-0.1.1-Linux.tar.gz ./
5555
RUN tar -xzvf OSRM-0.1.1-Linux.tar.gz && cd OSRM-0.1.1-Linux && cp -r bin/* /usr/bin/ && cp -r lib/* /usr/lib/ && cp -r include/* /usr/include/ && cp -r share/* /usr/share/
5656

5757
### Installation prime-server
@@ -60,8 +60,8 @@ COPY --from=build /usr/local/lib/libprime_server.so.0 /usr/lib/libprime_server.s
6060
COPY --from=build /usr/local/lib/libprime_server.so /usr/lib/libprime_server.so
6161

6262
### Installation de valhalla
63-
COPY --from=build /home/valhalla/valhalla/build/valhalla-3.2.0-Linux.tar.gz ./
64-
RUN tar -xzvf valhalla-3.2.0-Linux.tar.gz && cd valhalla-3.2.0-Linux && cp -r bin/* /usr/bin/ && cp -r lib/* /usr/lib/ && cp -r include/* /usr/include/ && cp -r share/* /usr/share/
63+
COPY --from=build /home/valhalla/valhalla/build/valhalla-3.6.1-Linux.tar.gz ./
64+
RUN tar -xzvf valhalla-3.6.1-Linux.tar.gz && cd valhalla-3.6.1-Linux && cp -r bin/* /usr/bin/ && cp -r lib/* /usr/lib/ && cp -r include/* /usr/include/ && cp -r share/* /usr/share/
6565

6666
### Installation des dépendances pour psycopg2
6767
RUN apt update && \

0 commit comments

Comments
 (0)