diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index e15e1f82ba1a..d8e7771008f2 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -484,6 +484,7 @@ otherwise no tag is added. {issue}42208[42208] {pull}42403[42403] - Upgrade node to latest LTS v18.20.3. {pull}40038[40038] - Add support for RFC7231 methods to http monitors. {pull}41975[41975] - 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 c211dafb979e..9480126141a3 100644 --- a/dev-tools/packaging/templates/docker/Dockerfile.tmpl +++ b/dev-tools/packaging/templates/docker/Dockerfile.tmpl @@ -133,7 +133,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; \ @@ -198,7 +198,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