forked from cyclosm/cyclosm-cartocss-style
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.import
19 lines (13 loc) · 668 Bytes
/
Dockerfile.import
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 https://ppa.launchpad.net/osmadmins/ppa/ubuntu bionic main\n\
deb-src https://ppa.launchpad.net/osmadmins/ppa/ubuntu bionic main' > \
/etc/apt/sources.list.d/osmadmins-ppa.list
RUN apt-key adv --keyserver hkp:https://keyserver.ubuntu.com:80 \
--recv A438A16C88C6BE41CB1616B8D57F48750AC4F2CB
RUN apt-get update && apt-get install --no-install-recommends -y \
osm2pgsql postgresql-client && rm -rf /var/lib/apt/lists/*
RUN mkdir -p /cyclosm
WORKDIR /cyclosm
CMD sh scripts/docker-startup.sh import