Skip to content

Commit 5dd93ca

Browse files
authored
[js][hotfix][1.12] Fix Node EOL by bumping to 20.x (#3722)
1 parent db55023 commit 5dd93ca

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

BUILD.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The following packages must be installed before Avro can be built:
1010
- C: gcc, cmake, asciidoc, source-highlight, Jansson, pkg-config
1111
- C++: cmake 3.7.2 or greater, g++, flex, bison, libboost-dev
1212
- C#: .NET Core 2.2 SDK
13-
- JavaScript: Node 12.x+, nodejs, npm
13+
- JavaScript: Node 20.x+, nodejs, npm
1414
- Ruby: Ruby 2.7 or greater, ruby-dev, gem, bundler, snappy
1515
- Perl: Perl 5.24.1 or greater, gmake, Module::Install,
1616
Module::Install::ReadmeFromPod, Module::Install::Repository,

share/docker/Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,7 @@ RUN set -eux; \
122122
ENV PATH="/opt/maven/bin:${PATH}"
123123

124124
# Install nodejs
125-
# The node deprecation warnings cause a 20 second sleep.
126-
# But mom, I'm not even tired!
127-
RUN curl -sSL https://deb.nodesource.com/setup_14.x \
128-
| sed 's/sleep/echo "But mom!"/' \
129-
| bash \
125+
RUN curl -sSL https://deb.nodesource.com/setup_20.x | bash \
130126
&& apt-get -qqy install nodejs \
131127
&& apt-get -qqy clean \
132128
&& npm install -g grunt-cli \

0 commit comments

Comments
 (0)