Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Update to node 24 (#6555)

Artur Pata8b7491834d46
diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml
index b091890417..258c357e29 100644
--- a/.github/workflows/elixir.yml
+++ b/.github/workflows/elixir.yml
@@ -242,7 +242,7 @@ jobs:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
- node-version: 23.2.0
+ node-version: 24.17.0
cache: 'npm'
cache-dependency-path: e2e/package-lock.json
- name: Install dependencies
diff --git a/.github/workflows/tracker-script-npm-release.yml b/.github/workflows/tracker-script-npm-release.yml
index f5b0b69f6e..5b7691888c 100644
--- a/.github/workflows/tracker-script-npm-release.yml
+++ b/.github/workflows/tracker-script-npm-release.yml
@@ -25,7 +25,7 @@ jobs:
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
- node-version: 23.2.0
+ node-version: 24.17.0
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
diff --git a/.github/workflows/tracker.yml b/.github/workflows/tracker.yml
index 0253ea60c2..18c9c2fb0e 100644
--- a/.github/workflows/tracker.yml
+++ b/.github/workflows/tracker.yml
@@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
- node-version: 23.2.0
+ node-version: 24.17.0
cache: 'npm'
cache-dependency-path: tracker/package-lock.json
- name: Install dependencies
@@ -63,7 +63,7 @@ jobs:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
- node-version: 23.2.0
+ node-version: 24.17.0
cache: 'npm'
cache-dependency-path: tracker/package-lock.json
- name: Install dependencies
diff --git a/.tool-versions b/.tool-versions
index b9393f6f8a..60604d41c0 100644
--- a/.tool-versions
+++ b/.tool-versions
@@ -1,3 +1,3 @@
erlang 28.5.0.3
elixir 1.20.2-otp-28
-nodejs 23.2.0
+nodejs 24.17.0
diff --git a/Dockerfile b/Dockerfile
index 3a90f786d0..9396f8f35a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,7 +3,7 @@
#### Builder
-FROM hexpm/elixir:1.20.2-erlang-28.5.0.3-alpine-3.22.5@sha256:8875407828c1b789485f9fcc6006e1ace39bb073b0467a95df3a3905d8d86d30 AS buildcontainer
+FROM hexpm/elixir:1.20.2-erlang-28.5.0.3-alpine-3.23.5@sha256:6f03034e254126f063959873d8d3b811ee92abaabab27b62c53982c4a1034e39 AS buildcontainer
ARG MIX_ENV=ce
@@ -21,7 +21,7 @@ RUN mkdir /app
WORKDIR /app
# install build dependencies
-RUN apk add --no-cache git "nodejs-current=23.11.1-r0" yarn npm python3 ca-certificates wget gnupg make gcc libc-dev brotli
+RUN apk add --no-cache git "nodejs=24.17.0-r0" yarn npm python3 ca-certificates wget gnupg make gcc libc-dev brotli
COPY mix.exs ./
COPY mix.lock ./
@@ -54,7 +54,7 @@ COPY rel rel
RUN mix release plausible
# Main Docker Image
-FROM alpine:3.22.5@sha256:14358309a308569c32bdc37e2e0e9694be33a9d99e68afb0f5ff33cc1f695dce
+FROM alpine:3.23.5@sha256:fd791d74b68913cbb027c6546007b3f0d3bc45125f797758156952bc2d6daf40
LABEL maintainer="plausible.io <[email protected]>"
ARG BUILD_METADATA={}