forked from cyclosm/cyclosm-cartocss-style
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
61 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM ubuntu:bionic | ||
|
||
# Style dependencies | ||
RUN apt-get update && apt-get install --no-install-recommends -y \ | ||
ca-certificates curl gnupg postgresql-client python fonts-hanazono \ | ||
fonts-noto-cjk fonts-noto-hinted fonts-noto-unhinted mapnik-utils \ | ||
nodejs npm ttf-unifont unzip && rm -rf /var/lib/apt/lists/* | ||
|
||
# Kosmtik with plugins, forcing prefix to /usr because bionic sets | ||
# npm prefix to /usr/local, which breaks the install | ||
RUN npm set prefix /usr && npm install -g kosmtik | ||
|
||
WORKDIR /usr/lib/node_modules/kosmtik/ | ||
RUN kosmtik plugins --install kosmtik-overpass-layer \ | ||
--install kosmtik-fetch-remote \ | ||
--install kosmtik-overlay \ | ||
--install kosmtik-open-in-josm \ | ||
--install kosmtik-map-compare \ | ||
--install kosmtik-osm-data-overlay \ | ||
--install kosmtik-mapnik-reference \ | ||
--install kosmtik-geojson-overlay \ | ||
&& cp /root/.config/kosmtik.yml /tmp/.kosmtik-config.yml | ||
|
||
# Closing section | ||
RUN mkdir -p /cyclosm | ||
WORKDIR /cyclosm | ||
|
||
USER 1000 | ||
CMD sh scripts/docker-startup.sh kosmtik |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM mdillon/postgis:10 | ||
|
||
ADD ./scripts/tune-postgis.sh /docker-entrypoint-initdb.d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 http:https://ppa.launchpad.net/osmadmins/ppa/ubuntu bionic main\n\ | ||
deb-src http: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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters