Skip to content
Snippets Groups Projects

Integrated spearhead as core for import logic

Merged Felix Delattre requested to merge feature/spearhead into master
3 files
+ 19
206
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 12
6
# Copyright (c) 2021:
# Copyright (C) 2021:
# Helmholtz-Zentrum Potsdam Deutsches GeoForschungsZentrum GFZ
#
# This program is free software: you can redistribute it and/or modify it
@@ -19,8 +19,16 @@ FROM debian:bullseye-slim
ENV DEBIAN_FRONTEND noninteractive
# Install software
RUN apt-get update
RUN apt-get install --no-install-recommends -y osm2pgsql postgresql-client
RUN apt update
RUN apt install --no-install-recommends -y \
ca-certificates \
git \
osm2pgsql \
postgresql-client
# Install spearhead
RUN cd /usr/local/lib && git clone --branch feature/shell https://git.gfz-potsdam.de/dynamicexposure/openbuildingmap/spearhead.git
RUN ln -s /usr/local/lib/spearhead/spearhead /usr/local/bin/spearhead
# Cleanup
RUN apt-get autoremove --yes $build_dependencies && \
@@ -30,6 +38,4 @@ RUN apt-get autoremove --yes $build_dependencies && \
VOLUME ["/tmp/import"]
# Start script
COPY ./files/start.sh /usr/local/bin
CMD /usr/local/bin/start.sh
CMD /usr/local/bin/spearhead
Loading