-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up dev environment and update database dependencies (#56)
* Consolidate data Dockerfiles and upgrade dependencies in db/Dockerfile * Clean up docker compose and its instructions * Get app running without unnecessary docker-compose.db.yml file * Update mellowroute fixture with latest dump from prod DB
- Loading branch information
1 parent
fa5d72d
commit cce3ef0
Showing
7 changed files
with
33 additions
and
66 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
FROM mdillon/postgis:11 | ||
FROM postgis/postgis:16-3.4 | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
build-essential gcc make cmake gdal-bin postgresql-server-dev-11 \ | ||
libboost-dev libboost-graph-dev \ | ||
wget ca-certificates | ||
build-essential gcc make cmake gdal-bin postgresql-server-dev-16 \ | ||
expat libexpat1-dev libboost-dev libboost-graph-dev libboost-program-options-dev libpqxx-dev \ | ||
osmctools wget ca-certificates | ||
|
||
RUN wget -O pgrouting-3.1.0.tar.gz https://github.com/pgRouting/pgrouting/archive/v3.1.0.tar.gz && \ | ||
tar xvfz pgrouting-3.1.0.tar.gz && \ | ||
cd pgrouting-3.1.0 && \ | ||
RUN wget -O pgrouting-3.6.2.tar.gz https://github.com/pgRouting/pgrouting/archive/v3.6.2.tar.gz && \ | ||
tar xvfz pgrouting-3.6.2.tar.gz && \ | ||
cd pgrouting-3.6.2 && \ | ||
mkdir build && \ | ||
cd build && \ | ||
cmake .. && \ | ||
make && \ | ||
make install && \ | ||
cd / && rm -Rf pgrouting-3.1.0* | ||
cd / && rm -Rf pgrouting-3.6.2* | ||
|
||
RUN wget -O osm2pgrouting-2.3.8.tar.gz https://github.com/pgRouting/osm2pgrouting/archive/v2.3.8.tar.gz && \ | ||
tar xvfz osm2pgrouting-2.3.8.tar.gz && \ | ||
cd osm2pgrouting-2.3.8 && \ | ||
cmake -H. -Bbuild && \ | ||
cd build && \ | ||
make && \ | ||
make install && \ | ||
cd / && rm -Rf osm2pgrouting-2.3.8* |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters