From 5034f5e09fe68c39bda380d21e3f84440a824b06 Mon Sep 17 00:00:00 2001 From: Dmitry Gozman Date: Tue, 10 Nov 2026 11:19:50 +0000 Subject: [PATCH] devops(docker): install libatomic1 for the Node.js binary of the driver The Node.js Linux binaries link against libatomic since Node.js 25, and the driver bundles Node.js 26. Without the library, the image build fails with 'libatomic.so.1: cannot open shared object file'. --- utils/docker/Dockerfile.jammy | 2 ++ utils/docker/Dockerfile.noble | 2 ++ utils/docker/Dockerfile.resolute | 2 ++ 3 files changed, 6 insertions(+) diff --git a/utils/docker/Dockerfile.jammy b/utils/docker/Dockerfile.jammy index 86b968d59..003d8c798 100644 --- a/utils/docker/Dockerfile.jammy +++ b/utils/docker/Dockerfile.jammy @@ -23,6 +23,8 @@ RUN --mount=type=secret,id=pipconf,target=/etc/pip.conf,required=false \ rm get-pip.py && \ # Feature-parity with node.js base images. apt-get install -y --no-install-recommends git openssh-client gpg && \ + # The Node.js binary of the driver links against libatomic (since Node.js 25). + apt-get install -y --no-install-recommends libatomic1 && \ # clean apt cache rm -rf /var/lib/apt/lists/* && \ # Create the pwuser diff --git a/utils/docker/Dockerfile.noble b/utils/docker/Dockerfile.noble index fe43b745b..699a624ba 100644 --- a/utils/docker/Dockerfile.noble +++ b/utils/docker/Dockerfile.noble @@ -26,6 +26,8 @@ RUN --mount=type=secret,id=pipconf,target=/etc/pip.conf,required=false \ rm get-pip.py && \ # Feature-parity with node.js base images. apt-get install -y --no-install-recommends git openssh-client gpg && \ + # The Node.js binary of the driver links against libatomic (since Node.js 25). + apt-get install -y --no-install-recommends libatomic1 && \ # clean apt cache rm -rf /var/lib/apt/lists/* && \ # Create the pwuser diff --git a/utils/docker/Dockerfile.resolute b/utils/docker/Dockerfile.resolute index a8f16c8ed..3c8b64eef 100644 --- a/utils/docker/Dockerfile.resolute +++ b/utils/docker/Dockerfile.resolute @@ -26,6 +26,8 @@ RUN --mount=type=secret,id=pipconf,target=/etc/pip.conf,required=false \ rm get-pip.py && \ # Feature-parity with node.js base images. apt-get install -y --no-install-recommends git openssh-client gpg && \ + # The Node.js binary of the driver links against libatomic (since Node.js 25). + apt-get install -y --no-install-recommends libatomic1 && \ # clean apt cache rm -rf /var/lib/apt/lists/* && \ # Create the pwuser