-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile-dev
More file actions
49 lines (40 loc) · 1.56 KB
/
Dockerfile-dev
File metadata and controls
49 lines (40 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
FROM ghcr.io/koumoul-dev/docker-maplibre-gl-native:v0.1.0
# WARNING: dependencies install is duplicated with ./Dockerfile
# keep these files synced
RUN \
apt-get -qq update\
&& apt-get install -y --no-install-recommends\
wget unzip\
git build-essential liblua5.1-0 liblua5.1-0-dev libprotobuf-dev\
libsqlite3-dev protobuf-compiler shapelib libshp-dev\
libboost-program-options-dev libboost-filesystem-dev\
libboost-system-dev libboost-iostreams-dev rapidjson-dev\
gdal-bin\
&& rm -rf /var/lib/apt/lists/*
RUN mkdir /tippecanoe &&\
wget --no-check-certificate -nv -O tippecanoe.zip https://github.com/mapbox/tippecanoe/archive/refs/tags/1.36.0.zip &&\
unzip -q tippecanoe.zip -d /tippecanoe &&\
rm tippecanoe.zip &&\
mv /tippecanoe/tippecanoe-1.36.0/* /tippecanoe &&\
cd /tippecanoe &&\
make &&\
make install &&\
rm -rf ./tests ./*.cpp ./*.hpp ./*.o
RUN mkdir /tilemaker &&\
wget --no-check-certificate -nv -O tilemaker.zip https://github.com/systemed/tilemaker/archive/27b3a7bc5eef1aeeed663c061c0cdcedb62099e5.zip &&\
unzip -q tilemaker.zip -d /tilemaker &&\
rm tilemaker.zip &&\
mv /tilemaker/tilemaker-27b3a7bc5eef1aeeed663c061c0cdcedb62099e5/* /tilemaker &&\
cd /tilemaker &&\
make &&\
make install &&\
rm -rf ./server
RUN mkdir /fonts &&\
wget --no-check-certificate -nv -O fonts.zip https://github.com/openmaptiles/fonts/releases/download/v2.0/v2.0.zip &&\
unzip -q fonts.zip -d /fonts &&\
rm fonts.zip
ENV NODE_ENV development
WORKDIR /webapp
VOLUME /webapp
ENTRYPOINT []
CMD ["bash", "/webapp/docker-dev-server.sh"]