Commit 76d7bcac authored by Florent Chehab's avatar Florent Chehab


parent 3243fabf
# Use the Makefile to make sure the base image is available
FROM open-tiler-base:latest
FROM floawfloaw/light-world-tileserver:latest
COPY ./data/${ZOOM}.mbtiles /data/${ZOOM}.mbtiles
......@@ -4,13 +4,13 @@ init_light_folder:
build_base_image: init_light_folder
cd tileserver-gl/light && docker build --tag open-tiler-base:latest .
cd tileserver-gl/light && docker build --tag floawfloaw/light-world-tileserver:latest .
build_image_8: build_base_image
docker build --build-arg ZOOM=8 --tag open-tiler:8-latest .
docker build --build-arg ZOOM=8 --tag floawfloaw/light-world-tileserver:latest--zoom-8 .
build_image_11: build_base_image
docker build --build-arg ZOOM=11 --tag open-tiler:11-latest .
docker build --build-arg ZOOM=11 --tag floawfloaw/light-world-tileserver:latest--zoom-11 .
docker run --rm -it -p 8080:80 open-tiler:8-latest
\ No newline at end of file
docker run --rm -it -p 8080:80 floawfloaw/light-world-tileserver:latest--zoom-8
\ No newline at end of file
......@@ -64,10 +64,10 @@ Make sure to finish by the following command to rebuild the `mbtiles` file:
## Building the image
## Building the images
The image provided by was not up-to-date and not small enough (and I am lazy to do a PR for now). So this repo contains a submodule pointing a specific commit of this repo.
There is a Makefile to automatize the creation process. Of the image.
There is a Makefile to automate the creation process of the images.
docker run --rm -it -p 8080:80 open-tiler:8-latest
docker run --rm -it -p 8080:80 floawfloaw/light-world-tileserver:8-latest
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment