tileserver-gl-light 4.6.2 → 4.6.3

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.
@@ -22,7 +22,7 @@ jobs:
22
22
  ref: ${{ github.event.pull_request.head.sha }}
23
23
 
24
24
  - name: Setup node env 📦
25
- uses: actions/setup-node@v3
25
+ uses: actions/setup-node@v4
26
26
  with:
27
27
  node-version-file: 'package.json'
28
28
  check-latest: true
@@ -31,7 +31,7 @@ jobs:
31
31
  libxxf86vm-dev
32
32
 
33
33
  - name: Setup node env 📦
34
- uses: actions/setup-node@v3
34
+ uses: actions/setup-node@v4
35
35
  with:
36
36
  node-version-file: 'package.json'
37
37
  check-latest: true
@@ -52,15 +52,15 @@ jobs:
52
52
  run: xvfb-run --server-args="-screen 0 1024x768x24" npm test
53
53
 
54
54
  - name: Set up QEMU
55
- uses: docker/setup-qemu-action@v2
55
+ uses: docker/setup-qemu-action@v3
56
56
  with:
57
57
  platforms: 'arm64'
58
58
 
59
59
  - name: Set up Docker Buildx
60
- uses: docker/setup-buildx-action@v2
60
+ uses: docker/setup-buildx-action@v3
61
61
 
62
62
  - name: Test Docker Build
63
- uses: docker/build-push-action@v4
63
+ uses: docker/build-push-action@v5
64
64
  with:
65
65
  context: .
66
66
  push: false
@@ -31,7 +31,7 @@ jobs:
31
31
  libxxf86vm-dev
32
32
 
33
33
  - name: Setup node env 📦
34
- uses: actions/setup-node@v3
34
+ uses: actions/setup-node@v4
35
35
  with:
36
36
  node-version-file: 'package.json'
37
37
  check-latest: true
@@ -66,12 +66,12 @@ jobs:
66
66
  echo "PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4 | head -n 1)" >> $GITHUB_ENV
67
67
 
68
68
  - name: Set up QEMU
69
- uses: docker/setup-qemu-action@v2
69
+ uses: docker/setup-qemu-action@v3
70
70
  with:
71
71
  platforms: 'arm64'
72
72
 
73
73
  - name: Set up Docker Buildx
74
- uses: docker/setup-buildx-action@v2
74
+ uses: docker/setup-buildx-action@v3
75
75
 
76
76
  - name: Login to DockerHub
77
77
  uses: docker/login-action@v2
@@ -80,7 +80,7 @@ jobs:
80
80
  password: ${{ github.event.inputs.docker_token }}
81
81
 
82
82
  - name: Build and publish Full Version to Docker Hub
83
- uses: docker/build-push-action@v4
83
+ uses: docker/build-push-action@v5
84
84
  with:
85
85
  context: .
86
86
  push: true
@@ -106,7 +106,7 @@ jobs:
106
106
  NPM_TOKEN: ${{ github.event.inputs.npm_token }}
107
107
 
108
108
  - name: Build and publish Light Version to Docker Hub
109
- uses: docker/build-push-action@v4
109
+ uses: docker/build-push-action@v5
110
110
  with:
111
111
  context: ./light
112
112
  file: ./light/Dockerfile
package/Dockerfile CHANGED
@@ -12,10 +12,13 @@ RUN set -ex; \
12
12
  apt-get -qq update; \
13
13
  apt-get -y --no-install-recommends install \
14
14
  ca-certificates \
15
- wget; \
16
- wget -qO- https://deb.nodesource.com/setup_18.x | bash; \
17
- apt-get install -y nodejs; \
18
- apt-get -y remove wget; \
15
+ curl \
16
+ gnupg; \
17
+ mkdir -p /etc/apt/keyrings; \
18
+ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg; \
19
+ echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list; \
20
+ apt-get -qq update; \
21
+ apt-get -y remove curl gnupg; \
19
22
  apt-get -y --purge autoremove; \
20
23
  apt-get clean; \
21
24
  rm -rf /var/lib/apt/lists/*;
@@ -33,7 +36,7 @@ WORKDIR /data
33
36
  COPY / /usr/src/app
34
37
 
35
38
  RUN cd /usr/src/app; \
36
- npm install --omit=dev; \
39
+ npm install --omit=dev --maxsockets 1; \
37
40
  chown -R root:root /usr/src/app; \
38
41
  chmod +x /usr/src/app/docker-entrypoint.sh;
39
42
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tileserver-gl-light",
3
- "version": "4.6.2",
3
+ "version": "4.6.3",
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",