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

jensg pushed a commit to branch 0.23.0
in repository https://gitbox.apache.org/repos/asf/thrift.git

commit a535aede7d2d2a80e015d42aa66f9a6002af4575
Author: Jens Geyer <[email protected]>
AuthorDate: Thu Apr 9 00:29:28 2026 +0200

    Fix ubuntu-noble Docker build: modernize NodeSource GPG setup
    
    Replace deprecated apt-key NodeSource setup with modern gpg keyring
    method using signed-by, consistent with ubuntu-focal and ubuntu-jammy.
    
    Client: build
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
    Generated-by: Claude Sonnet 4.6
---
 build/docker/ubuntu-noble/Dockerfile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/build/docker/ubuntu-noble/Dockerfile 
b/build/docker/ubuntu-noble/Dockerfile
index ebf638f60..bdfb6c2c5 100644
--- a/build/docker/ubuntu-noble/Dockerfile
+++ b/build/docker/ubuntu-noble/Dockerfile
@@ -52,8 +52,9 @@ RUN curl 
https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - &
   /etc/apt/sources.list.d/dart_stable.list
 
 # node.js
-RUN curl -sL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | 
apt-key add - && \
-  echo "deb https://deb.nodesource.com/node_20.x nodistro main" | tee 
/etc/apt/sources.list.d/nodesource.list
+RUN mkdir -p /etc/apt/keyrings && \
+  curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg 
--dearmor -o /etc/apt/keyrings/nodesource.gpg && \
+  echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] 
https://deb.nodesource.com/node_20.x nodistro main" | tee 
/etc/apt/sources.list.d/nodesource.list
 
 ### install general dependencies
 RUN apt-get update -yq && \

Reply via email to