Skip to content

Commit b8df620

Browse files
committed
Testing osm2pgsql PR #2134 for reducing conections
1 parent f876b72 commit b8df620

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ FROM postgis/postgis:16-3.4
22

33
LABEL maintainer="PgOSM Flex - https://github.com/rustprooflabs/pgosm-flex"
44

5-
ARG OSM2PGSQL_BRANCH=master
5+
#ARG OSM2PGSQL_BRANCH=master
6+
ARG OSM2PGSQL_BRANCH=fewer-db-conns
7+
# ARG OSM2PGSQL_REPO=https://github.com/openstreetmap/osm2pgsql.git
8+
ARG OSM2PGSQL_REPO=https://github.com/joto/osm2pgsql.git
9+
610

711
RUN apt-get update \
812
# Removed upgrade per https://github.com/rustprooflabs/pgosm-flex/issues/322
@@ -34,7 +38,7 @@ RUN luarocks install luasql-postgres PGSQL_INCDIR=/usr/include/postgresql/
3438

3539

3640
WORKDIR /tmp
37-
RUN git clone --depth 1 --branch $OSM2PGSQL_BRANCH https://github.com/openstreetmap/osm2pgsql.git \
41+
RUN git clone --depth 1 --branch $OSM2PGSQL_BRANCH $OSM2PGSQL_REPO \
3842
&& mkdir osm2pgsql/build \
3943
&& cd osm2pgsql/build \
4044
&& cmake .. -D USE_PROJ_LIB=6 \

0 commit comments

Comments
 (0)