Commit Graph

27 Commits

Author SHA1 Message Date
Petr Sloup a3d7f8bcbd Fix the docker image port to fix backward compatibility (#502) 2020-12-14 15:27:05 +01:00
Joakim Fors 9f59f67087 Clean up dependencies 2020-12-04 16:19:30 +01:00
Joakim Fors 1d21648969 Run as node user instead of root 2020-12-04 16:19:30 +01:00
Joakim Fors 16de5be673 Use simplified entrypoint script 2020-12-04 16:19:30 +01:00
Joakim Fors 6b96f224ae Streamline Dockerfile for caching and size
Move package installation to top of file to enable layer caching
in Docker. Use multi stage builds to reduce final image size.
Ignore everything but essential files when creating Docker build
context.
2020-12-04 16:19:30 +01:00
Petr Sloup ea89d11021 Use chokidar instead of node-watch to poll the files (required for docker) 2020-01-15 09:26:59 +01:00
Petr Sloup 0a7c403f0b Update repo links, footnote, etc. (klokantech->maptiler) 2019-12-30 16:54:35 +01:00
Yuri Astrakhan 736e8d393a Upgrade to node10, latest dependencies
use node10 (latest node that has binary built @mapbox/mapbox-gl-native v5.0.2)
use latest canvas and sharp API
2019-12-21 12:09:07 -05:00
guenhter 8e1071aad0 Wait for Xvfb to startup 2018-12-19 09:06:53 +01:00
Sam Brown 8eb736b821 Addresses issue #197, send SIGTERM through to node
Node can't be PID 1, else it can't be term'ed and xvfb won't stop nicely.  So, according to https://docs.docker.com/engine/reference/builder/#entrypoint, we need to make sure it's not the bare entrypoint.

Also we need to be sure that run.sh passes the signal through to node, see https://unix.stackexchange.com/questions/146756/forward-sigterm-to-child-in-bash
2017-11-30 12:30:40 +00:00
Petr Sloup d60996e3c6 Reorganize Dockerfile instructions for faster rebuilds 2017-09-20 08:03:46 +02:00
Petr Sloup 02cf45bbd9 Clean Dockerfile by basing on node:6-stretch 2017-09-20 08:01:35 +02:00
Oleksii Leonov cf521058be Use debian stretch nodejs repo
Dockerfile based on debian:stretch, so better to use native stretch nodejs repo instead of jessie repo.
2017-06-30 00:54:13 +03:00
Petr Sloup d30f8464b2 Add some packages to travis and Dockerfile 2017-06-23 21:34:59 +02:00
Petr Sloup 8007f1386c Add required package for travis and Dockerfile 2017-06-22 16:37:32 +02:00
Petr Sloup 4f2fdf602b Update Dockerfiles to use node v6 2017-06-22 16:37:32 +02:00
Petr Sloup 34a139040c Slight docker performance optimization 2017-04-04 18:46:18 +02:00
Petr Sloup d32e46ba2f Allow options to be passed to the docker + document it (close #87) 2016-12-21 07:01:16 +01:00
Petr Sloup 442baee1ce Dockerfile improvements 2016-12-08 18:18:19 +01:00
stirringhalo 7f06f09696 Duplicate nodejs install 2016-07-20 15:18:58 -04:00
stirringhalo f5c5570fca Avoid curl | bash 2016-07-18 18:42:09 -04:00
Petr Sloup a310c130f3 Download sample data when running docker image without config (close #23) 2016-07-13 14:03:41 +02:00
Petr Sloup 01bff86c6d Initial implementation of path rendering 2016-06-24 12:26:26 +02:00
Petr Sloup d486a8595b Use node 4 for travis and docker 2016-04-18 11:05:52 +02:00
Petr Sloup 3b92c6109b Do not install dev dependencies when build docker image 2016-04-18 10:47:45 +02:00
Petr Sloup 9fd7dc1d35 Base the docker image on debian stretch to get more recent mesa3d 2016-03-09 08:41:18 +01:00
Petr Sloup e39ae90bc8 Add Dockerfile, proper scripts and update README (issue #1) 2016-03-03 15:53:24 +01:00