tileserver-gl-light 5.2.0-pre.1 → 5.2.0-pre.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ct.yml +17 -1
- package/CHANGELOG.md +3 -2
- package/Dockerfile +41 -10
- package/changelog_for_version.md +2 -1
- package/package.json +2 -1
package/.github/workflows/ct.yml
CHANGED
|
@@ -65,6 +65,22 @@ jobs:
|
|
|
65
65
|
context: .
|
|
66
66
|
push: false
|
|
67
67
|
platforms: linux/arm64,linux/amd64
|
|
68
|
-
|
|
68
|
+
cache-from: type=gha
|
|
69
|
+
cache-to: type=gha,mode=max
|
|
70
|
+
|
|
71
|
+
- name: Create Tileserver Light Directory
|
|
72
|
+
run: node publish.js --no-publish
|
|
73
|
+
|
|
74
|
+
- name: Install node dependencies
|
|
75
|
+
run: npm ci --prefer-offline --no-audit
|
|
76
|
+
working-directory: ./light
|
|
77
|
+
|
|
78
|
+
- name: Test Light Version to Docker Hub
|
|
79
|
+
uses: docker/build-push-action@v6
|
|
80
|
+
with:
|
|
81
|
+
context: ./light
|
|
82
|
+
file: ./light/Dockerfile
|
|
83
|
+
push: false
|
|
84
|
+
platforms: linux/arm64,linux/amd64
|
|
69
85
|
cache-from: type=gha
|
|
70
86
|
cache-to: type=gha,mode=max
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# tileserver-gl changelog
|
|
2
2
|
|
|
3
|
-
## 5.2.0-pre.
|
|
3
|
+
## 5.2.0-pre.2
|
|
4
4
|
* Use npm packages for public/resources (https://github.com/maptiler/tileserver-gl/pull/1427) by @okimiko
|
|
5
5
|
* use ttf files of googlefonts/opensans (https://github.com/maptiler/tileserver-gl/pull/1447) by @okimiko
|
|
6
6
|
* Limit Elevation Lat/Long Output Length (https://github.com/maptiler/tileserver-gl/pull/1457) by @okimiko
|
|
7
7
|
* Fetch style from url (https://github.com/maptiler/tileserver-gl/pull/1462) by @YoelRidgway
|
|
8
8
|
* fix: memory leak on SIGHUP (https://github.com/maptiler/tileserver-gl/pull/1455) by @okimiko
|
|
9
|
-
* fix: resolves Unimplemented type: 3 error for geojson format
|
|
9
|
+
* fix: resolves Unimplemented type: 3 error for geojson format (https://github.com/maptiler/tileserver-gl/pull/1465) by @rjdjohnston
|
|
10
|
+
* fix: Test light version in ct workflow - fix sqlite build in light (https://github.com/maptiler/tileserver-gl/pull/2034) by @acalcutt
|
|
10
11
|
|
|
11
12
|
## 5.1.3
|
|
12
13
|
* Fix SIGHUP (broken since 5.1.x) (https://github.com/maptiler/tileserver-gl/pull/1452) by @okimiko
|
package/Dockerfile
CHANGED
|
@@ -1,4 +1,42 @@
|
|
|
1
|
-
FROM ubuntu:jammy
|
|
1
|
+
FROM ubuntu:jammy AS builder
|
|
2
|
+
|
|
3
|
+
ENV NODE_ENV="production"
|
|
4
|
+
|
|
5
|
+
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
6
|
+
|
|
7
|
+
RUN export DEBIAN_FRONTEND=noninteractive && \
|
|
8
|
+
apt-get update && \
|
|
9
|
+
apt-get install -y --no-install-recommends --no-install-suggests \
|
|
10
|
+
build-essential \
|
|
11
|
+
ca-certificates \
|
|
12
|
+
curl \
|
|
13
|
+
gnupg && \
|
|
14
|
+
mkdir -p /etc/apt/keyrings && \
|
|
15
|
+
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
|
|
16
|
+
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
|
|
17
|
+
apt-get -qq update && \
|
|
18
|
+
apt-get install -y --no-install-recommends --no-install-suggests nodejs && \
|
|
19
|
+
npm i -g npm@latest && \
|
|
20
|
+
apt-get -y remove curl gnupg && \
|
|
21
|
+
apt-get -y --purge autoremove && \
|
|
22
|
+
apt-get clean && \
|
|
23
|
+
rm -rf /var/lib/apt/lists/*
|
|
24
|
+
|
|
25
|
+
RUN mkdir -p /usr/src/app
|
|
26
|
+
|
|
27
|
+
WORKDIR /usr/src/app
|
|
28
|
+
|
|
29
|
+
COPY package.json /usr/src/app
|
|
30
|
+
COPY package-lock.json /usr/src/app
|
|
31
|
+
|
|
32
|
+
RUN npm config set maxsockets 1 && \
|
|
33
|
+
npm config set fetch-retries 5 && \
|
|
34
|
+
npm config set fetch-retry-mintimeout 100000 && \
|
|
35
|
+
npm config set fetch-retry-maxtimeout 600000 && \
|
|
36
|
+
npm ci --omit=dev && \
|
|
37
|
+
chown -R root:root /usr/src/app
|
|
38
|
+
|
|
39
|
+
FROM ubuntu:jammy AS final
|
|
2
40
|
|
|
3
41
|
ENV \
|
|
4
42
|
NODE_ENV="production" \
|
|
@@ -26,16 +64,9 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|
|
26
64
|
apt-get clean && \
|
|
27
65
|
rm -rf /var/lib/apt/lists/*
|
|
28
66
|
|
|
29
|
-
|
|
30
|
-
COPY . .
|
|
67
|
+
COPY --from=builder /usr/src/app /usr/src/app
|
|
31
68
|
|
|
32
|
-
|
|
33
|
-
npm config set fetch-retries 5 && \
|
|
34
|
-
npm config set fetch-retry-mintimeout 100000 && \
|
|
35
|
-
npm config set fetch-retry-maxtimeout 600000 && \
|
|
36
|
-
npm install --omit=dev && \
|
|
37
|
-
chown -R root:root . && \
|
|
38
|
-
chmod +x ./docker-entrypoint.sh
|
|
69
|
+
COPY . /usr/src/app
|
|
39
70
|
|
|
40
71
|
RUN mkdir -p /data && chown node:node /data
|
|
41
72
|
VOLUME /data
|
package/changelog_for_version.md
CHANGED
|
@@ -3,5 +3,6 @@
|
|
|
3
3
|
* Limit Elevation Lat/Long Output Length (https://github.com/maptiler/tileserver-gl/pull/1457) by @okimiko
|
|
4
4
|
* Fetch style from url (https://github.com/maptiler/tileserver-gl/pull/1462) by @YoelRidgway
|
|
5
5
|
* fix: memory leak on SIGHUP (https://github.com/maptiler/tileserver-gl/pull/1455) by @okimiko
|
|
6
|
-
* fix: resolves Unimplemented type: 3 error for geojson format
|
|
6
|
+
* fix: resolves Unimplemented type: 3 error for geojson format (https://github.com/maptiler/tileserver-gl/pull/1465) by @rjdjohnston
|
|
7
|
+
* fix: Test light version in ct workflow - fix sqlite build in light (https://github.com/maptiler/tileserver-gl/pull/2034) by @acalcutt
|
|
7
8
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tileserver-gl-light",
|
|
3
|
-
"version": "5.2.0-pre.
|
|
3
|
+
"version": "5.2.0-pre.2",
|
|
4
4
|
"description": "Map tile server for JSON GL styles - serving vector tiles",
|
|
5
5
|
"main": "src/main.js",
|
|
6
6
|
"bin": "src/main.js",
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"clone": "2.1.2",
|
|
39
39
|
"color": "4.2.3",
|
|
40
40
|
"commander": "12.1.0",
|
|
41
|
+
"copyfiles": "2.4.1",
|
|
41
42
|
"cors": "2.8.5",
|
|
42
43
|
"express": "5.0.1",
|
|
43
44
|
"handlebars": "4.7.8",
|