Skip to content

Install libatomic so Node can start - #7

Merged
soulgalore merged 1 commit into
mainfrom
add-libatomic
Oct 31, 2026
Merged

soulgalore merged 1 commit into
mainfrom
add-libatomic

Conversation

@soulgalore

Copy link
Copy Markdown
Member

The official Node 26 Linux binaries are dynamically linked against libatomic.so.1, which the minimal Ubuntu base image does not ship. The image built fine but node could not start, so the break only surfaced downstream: browsertime's Docker build failed at npm install with exit code 127. sitespeed.io only worked because build-essential pulled libatomic1 in by accident.

Running node at the end of the build makes a missing runtime library fail here, in the image that ships Node, instead of in the images built on top of it.

Assisted-by: Claude Opus 5.5 noreply@anthropic.com

The official Node 26 Linux binaries are dynamically linked against libatomic.so.1, which the minimal Ubuntu base image does not ship. The image built fine but node could not start, so the break only surfaced downstream: browsertime's Docker build failed at npm install with exit code 127. sitespeed.io only worked because build-essential pulled libatomic1 in by accident.

Running node at the end of the build makes a missing runtime library fail here, in the image that ships Node, instead of in the images built on top of it.

Assisted-by: Claude Opus 5.5 noreply@anthropic.com
@soulgalore
soulgalore merged commit d8e7415 into main Oct 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant