Skip to content

Commit a40dcb1

Browse files
committed
fix: add libatomic1 for node v25+
1 parent 43a988f commit a40dcb1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ ARG NODE_VERSION=22.20.0
44
FROM ghcr.io/containerbase/base:13.23.6@sha256:af7c74e000727bfc7641235ddfaabd606270e7e97cd68de95dd1422b8fc8cf00
55

66
ARG NODE_VERSION
7+
8+
RUN set -ex; \
9+
if dpkg --compare-versions "${NODE_VERSION}" lt 25.0.0; then; install-apt libatomic1; fi; \
10+
true
11+
712
RUN install-tool node
813

914
LABEL org.opencontainers.image.source="https://github.com/containerbase/node" \

0 commit comments

Comments
 (0)