Skip to content

Instantly share code, notes, and snippets.

@dooman87
Last active Dec 28, 2016
Embed
What would you like to do?
FROM mdillon/postgis:9.5
WORKDIR /
RUN apt-get update && \
apt-get install -y osm2pgsql git wget && \
rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/dooman87/openstreetmap-carto.git && \
wget https://s3.amazonaws.com/metro-extracts.mapzen.com/melbourne_australia.osm.pbf
#Overriding init script to add hstore extension that osm2pgsql requires
COPY ./initdb-postgis.sh /docker-entrypoint-initdb.d/postgis.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment