Skip to content

Commit 30ca707

Browse files
committed
Use osmosis patched version
1 parent f1d4ad2 commit 30ca707

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

Diff for: script.Dockerfile

+13-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ RUN apt update -y && apt install -y \
1313
libpq-dev \
1414
libproj-dev \
1515
libprotozero-dev \
16-
osmium-tool \
17-
osmosis \
1816
postgresql-client \
1917
ruby-dev \
2018
ruby-json \
@@ -30,6 +28,19 @@ RUN git clone https://github.com/osmcode/osm-postgresql-experiments.git && \
3028
cmake .. && \
3129
make install
3230

31+
WORKDIR /srv/
32+
33+
# Custom patch, wating for https://github.com/osmcode/osmium-tool/issues/282
34+
ADD osmium-tool-merge-osc-deleted.diff .
35+
RUN git clone https://github.com/osmcode/osmium-tool.git && \
36+
cd osmium-tool && \
37+
git checkout v1.13.0 && \
38+
patch -p1 < ../osmium-tool-merge-osc-deleted.diff && \
39+
mkdir build && \
40+
cd build && \
41+
cmake .. && \
42+
make install
43+
3344
WORKDIR /srv/app
3445

3546
ADD Gemfile Gemfile.lock ./

0 commit comments

Comments
 (0)