diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index 0c2765b28d7a..2326e6be67b2 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -250,6 +250,8 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff] - Added status to monitor run log report. - Upgrade node to latest LTS v18.20.3. {pull}40038[40038] +- Upgrade node to latest LTS v18.20.7. {pull}43511[43511] +- Upgrade node to latest LTS v20.19.3. {pull}45087[45087] *Metricbeat* diff --git a/dev-tools/packaging/templates/docker/Dockerfile.tmpl b/dev-tools/packaging/templates/docker/Dockerfile.tmpl index bfb6f0432dc9..f22ae7755331 100644 --- a/dev-tools/packaging/templates/docker/Dockerfile.tmpl +++ b/dev-tools/packaging/templates/docker/Dockerfile.tmpl @@ -144,7 +144,7 @@ USER root # Install required dependencies from wolfi repository RUN for iter in {1..10}; do \ apk update && \ - apk add --no-interactive --no-progress --no-cache nodejs-18=18.20.7-r0 npm=10.9.2-r0 glib dbus-glib libatk-1.0 \ + apk add --no-interactive --no-progress --no-cache nodejs-20=20.19.3-r0 npm=11.4.2-r0 glib dbus-glib libatk-1.0 \ libatk-bridge-2.0 cups-libs libxcomposite libxdamage libxrandr libxkbcommon pango alsa-lib \ font-opensans fontconfig gtk icu-data-full libnss mesa font-noto-cjk font-noto-emoji && \ exit_code=0 && break || exit_code=$? && echo "apk error: retry $iter in 10s" && sleep 10; \ @@ -183,7 +183,7 @@ RUN echo \ # Setup synthetics env vars ENV ELASTIC_SYNTHETICS_CAPABLE=true ENV TZ=UTC -ENV NODE_VERSION=18.20.7 +ENV NODE_VERSION=20.19.3 ENV PATH="$NODE_PATH/node/bin:$PATH" # Install the latest version of @elastic/synthetics forcefully ignoring the previously # cached node_modules, heartbeat then calls the global executable to run test suites