Commit c6ae92a9 authored by Felix Delattre's avatar Felix Delattre
Browse files

Added rcli

parent 58f06eed
......@@ -25,12 +25,20 @@ RUN apt install --no-install-recommends -y \
git \
osm2pgsql \
postgresql-client \
pyosmium
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
RUN pip3 install -e .
# Cleanup
RUN apt-get autoremove --yes $build_dependencies && \
apt-get autoremove --yes && \
......@@ -39,4 +47,4 @@ RUN apt-get autoremove --yes $build_dependencies && \
VOLUME ["/tmp/import"]
CMD /usr/local/bin/spearhead
CMD wait-for-it -t 30 $RABOTNIK_MESSAGE_BUS_HOST:$RABOTNIK_MESSAGE_BUS_PORT -- /usr/local/bin/spearhead
......@@ -21,7 +21,7 @@ Define variables
Copyright and copyleft
----------------------
Copyright (c) 2021
Copyright (C) 2021
* Helmholtz-Zentrum Potsdam Deutsches GeoForschungsZentrum GFZ
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment