Skip to content

fix(docker): pin libatomic1 for arm64 pnpm builds - #29

Merged
perkinson1251 merged 1 commit into
mainfrom
dev
Sep 10, 2026
Merged

perkinson1251 merged 1 commit into
mainfrom
dev

Conversation

@perkinson1251

Copy link
Copy Markdown
Contributor

Hotfix

Production Docker builds on arm64 were failing at pnpm install --frozen-lockfile
with libatomic.so.1: cannot open shared object file. pnpm's standalone binary
needs libatomic1, which isn't installed by default on node:*-slim.

Pins libatomic1 explicitly in the build stage before npm i -g pnpm.

Not a version release — package.json version stays at 1.3.0.

pnpm's standalone binary (@pnpm/exe) requires libatomic.so.1 on arm64,
which node:*-slim doesn't install by default. Production builds started
failing with "error while loading shared libraries: libatomic.so.1".
Pin the package explicitly instead of depending on it being present by
luck/layer-cache inheritance.
@perkinson1251
perkinson1251 merged commit 7f2d0fb into main Sep 10, 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