Skip to content
Snippets Groups Projects

Remove osm2pgsql from logic.

Merged Felix Delattre requested to merge feature/switch-to-imposm into master
2 files
+ 9
33
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 4
14
@@ -23,20 +23,12 @@ RUN apt update
RUN apt install --no-install-recommends -y \
ca-certificates \
git \
osm2pgsql \
postgresql-client \
python3 \
python3-pip \
pyosmium \
wait-for-it
# Install spearhead
RUN cd /usr/local/lib && git clone https://git.gfz-potsdam.de/dynamicexposure/openbuildingmap/spearhead.git
RUN ln -s /usr/local/lib/spearhead/spearhead /usr/local/bin/spearhead
# Install rabotnik rcli
RUN cd /srv && git clone https://git.gfz-potsdam.de/dynamicexposure/rabotnik/rcli.git
WORKDIR /srv/rcli
# Install rabotnik spearhead
RUN cd /srv && git clone https://git.gfz-potsdam.de/dynamicexposure/openbuildingmap/spearhead.git
WORKDIR /srv/spearhead
RUN pip3 install -e .
# Cleanup
@@ -45,6 +37,4 @@ RUN apt-get autoremove --yes $build_dependencies && \
apt-get clean --yes && \
rm -rf /var/lib/apt/* /var/cache/apt/* /root/.cache
VOLUME ["/tmp/import"]
CMD wait-for-it -t 30 $RABOTNIK_MESSAGE_BUS_HOST:$RABOTNIK_MESSAGE_BUS_PORT -- /usr/local/bin/spearhead
CMD wait-for-it -t 30 $RABOTNIK_MESSAGE_BUS_HOST:$RABOTNIK_MESSAGE_BUS_PORT -- spearhead
Loading