docker-osm/docker-imposm/Dockerfile

17 wiersze
427 B
Docker

2022-10-17 17:16:30 +00:00
FROM golang:1.19
MAINTAINER Etienne Trimaille <etienne.trimaille@gmail.com>
2015-07-30 09:38:13 +00:00
2022-10-17 17:16:30 +00:00
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -qy \
python3-pip gdal-bin libgeos-dev libleveldb-dev postgresql-client
2015-07-30 09:38:13 +00:00
2022-10-17 17:16:30 +00:00
RUN go install github.com/omniscale/imposm3/cmd/imposm@latest
2015-07-30 09:38:13 +00:00
2022-10-17 17:16:30 +00:00
WORKDIR /home
ADD requirements.txt .
RUN pip3 install -r requirements.txt
2015-07-30 09:38:13 +00:00
2022-10-17 17:16:30 +00:00
ADD importer.py .
2015-07-30 09:38:13 +00:00
2022-10-17 17:16:30 +00:00
CMD ["python3", "-u", "importer.py"]