kopia lustrzana https://github.com/kartoza/docker-osm
17 wiersze
427 B
Docker
17 wiersze
427 B
Docker
FROM golang:1.19
|
|
MAINTAINER Etienne Trimaille <etienne.trimaille@gmail.com>
|
|
|
|
RUN apt-get update && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -qy \
|
|
python3-pip gdal-bin libgeos-dev libleveldb-dev postgresql-client
|
|
|
|
RUN go install github.com/omniscale/imposm3/cmd/imposm@latest
|
|
|
|
WORKDIR /home
|
|
ADD requirements.txt .
|
|
RUN pip3 install -r requirements.txt
|
|
|
|
ADD importer.py .
|
|
|
|
CMD ["python3", "-u", "importer.py"]
|