mirror of
https://github.com/gravitystorm/openstreetmap-carto.git
synced 2025-09-24 09:32:54 +02:00
22 lines
793 B
Text
22 lines
793 B
Text
FROM ubuntu:bionic
|
|
|
|
RUN apt-get update && apt-get install --no-install-recommends -y \
|
|
ca-certificates curl gnupg && rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN echo 'deb http://ppa.launchpad.net/osmadmins/ppa/ubuntu bionic main\n\
|
|
deb-src http://ppa.launchpad.net/osmadmins/ppa/ubuntu bionic main' > \
|
|
/etc/apt/sources.list.d/osmadmins-ppa.list
|
|
|
|
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 \
|
|
--recv A438A16C88C6BE41CB1616B8D57F48750AC4F2CB
|
|
|
|
RUN apt-get update && apt-get install --no-install-recommends -y \
|
|
osm2pgsql gdal-bin python3-psycopg2 python3-yaml unzip \
|
|
python3-requests postgresql-client && rm -rf /var/lib/apt/lists/*
|
|
|
|
ADD openstreetmap-carto.style /
|
|
|
|
RUN mkdir -p /openstreetmap-carto
|
|
WORKDIR /openstreetmap-carto
|
|
|
|
CMD sh scripts/docker-startup.sh import
|