Skip to content

Commit d8e7415

Browse files
authored
Merge pull request #7 from sitespeedio/add-libatomic
Install libatomic so Node can start
2 parents b669d2c + 9470345 commit d8e7415

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎Dockerfile‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ENV NODE_VERSION=26.13.0
1111
RUN export PLATFORM=$(if [ "$TARGETPLATFORM" = "linux/amd64" ] ; then echo "x64"; else echo "arm64"; fi) \
1212
&& buildDeps='xz-utils curl gnupg2 lsb-release dirmngr' \
1313
&& set -x \
14-
&& apt-get update && apt-get install -y --no-install-recommends ca-certificates $buildDeps \
14+
&& apt-get update && apt-get install -y --no-install-recommends ca-certificates libatomic1 $buildDeps \
1515
&& rm -rf /var/lib/apt/lists/* \
1616
# gpg keys listed at https://github.com/nodejs/node#release-keys
1717
&& set -ex \
@@ -38,7 +38,8 @@ RUN export PLATFORM=$(if [ "$TARGETPLATFORM" = "linux/amd64" ] ; then echo "x64"
3838
&& { gpgconf --kill all || true; } \
3939
&& rm -rf "$GNUPGHOME" \
4040
&& apt-get purge -y --auto-remove $buildDeps \
41-
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs
41+
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs \
42+
&& node --version
4243

4344

4445
CMD [ "npm", "--version" ]

0 commit comments

Comments
 (0)