This repository was archived by the owner on Nov 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 8989 NODE_VERSION : ' 20.x'
9090 FORCE_COLOR : ' 1'
9191 steps :
92+ - name : Install musl
93+ run : sudo apt-get install -y musl
9294 - name : Setup Java
9395 uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
9496 with :
@@ -160,6 +162,8 @@ jobs:
160162 NODE_VERSION : ' 20.x'
161163 FORCE_COLOR : ' 1'
162164 steps :
165+ - name : Install musl
166+ run : sudo apt-get install -y musl
163167 - name : Setup Java
164168 uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
165169 with :
Original file line number Diff line number Diff line change @@ -63,8 +63,9 @@ switch (process.platform) {
6363 break ;
6464 case 'linux' :
6565 // On linux, statically link all libraries. Allows usage on systems
66- // which are missing or have incompatible versions of GLIBC
67- NATIVE_IMAGE_BUILD_ARGS . unshift ( '--static' ) ;
66+ // which are missing or have incompatible versions of GLIBC.
67+ // See https://www.graalvm.org/latest/reference-manual/native-image/guides/build-static-executables/
68+ NATIVE_IMAGE_BUILD_ARGS . unshift ( '--static' , '--libc=musl' ) ;
6869 break ;
6970}
7071
You can’t perform that action at this time.
0 commit comments