You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by rs...@apache.org on 2026/04/06 12:53:14 UTC

(avro) branch branch-1.12 updated: [js][hotfix][1.12] Fix Node EOL by bumping to 20.x (#3722)

This is an automated email from the ASF dual-hosted git repository.

rskraba pushed a commit to branch branch-1.12
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/branch-1.12 by this push:
     new 5dd93ca94f [js][hotfix][1.12] Fix Node EOL by bumping to 20.x (#3722)
5dd93ca94f is described below

commit 5dd93ca94f714ceed4d5b2c4a96daf1f307d4be8
Author: Ryan Skraba <ry...@skraba.com>
AuthorDate: Mon Apr 6 14:53:09 2026 +0200

    [js][hotfix][1.12] Fix Node EOL by bumping to 20.x (#3722)
---
 BUILD.md                | 2 +-
 share/docker/Dockerfile | 6 +-----
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/BUILD.md b/BUILD.md
index 3fc7ed0011..836ac1f414 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -10,7 +10,7 @@ The following packages must be installed before Avro can be built:
  - C: gcc, cmake, asciidoc, source-highlight, Jansson, pkg-config
  - C++: cmake 3.7.2 or greater, g++, flex, bison, libboost-dev
  - C#: .NET Core 2.2 SDK
- - JavaScript: Node 12.x+, nodejs, npm
+ - JavaScript: Node 20.x+, nodejs, npm
  - Ruby: Ruby 2.7 or greater, ruby-dev, gem, bundler, snappy
  - Perl: Perl 5.24.1 or greater, gmake, Module::Install,
    Module::Install::ReadmeFromPod, Module::Install::Repository,
diff --git a/share/docker/Dockerfile b/share/docker/Dockerfile
index a5e0b468e9..2124b6b1b3 100644
--- a/share/docker/Dockerfile
+++ b/share/docker/Dockerfile
@@ -122,11 +122,7 @@ RUN set -eux; \
 ENV PATH="/opt/maven/bin:${PATH}"
 
 # Install nodejs
-# The node deprecation warnings cause a 20 second sleep.
-# But mom, I'm not even tired!
-RUN curl -sSL https://deb.nodesource.com/setup_14.x \
-  | sed 's/sleep/echo "But mom!"/' \
-  | bash \
+RUN curl -sSL https://deb.nodesource.com/setup_20.x | bash \
  && apt-get -qqy install nodejs \
  && apt-get -qqy clean \
  && npm install -g grunt-cli \