Skip to content

Commit 6a0c060

Browse files
authored
Update action.yml
1 parent 2524fbb commit 6a0c060

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ runs:
1212
export DOCKER_CONFIG="$(readlink -f "$1/../../../.docker")"
1313
find "$1" -type f -executable -name 'node' -not -path '*_alpine/*' -print0 | xargs -0 -n 1 -- /bin/bash -xc 'docker run --rm --volume /:/hostfs --entrypoint /bin/cp "docker.io/library/node:$("$1" -e "console.log(process.versions.node)")-alpine" /usr/local/bin/node "/hostfs$1"' --
1414
EOF
15-
find "/__e" -type f -executable -name 'node' -not -path '*_alpine/*' -print0 | xargs -0 -n 1 patchelf --set-rpath /test/usr/lib
15+
find "/__e" -type f -executable -name 'node' -not -path '*_alpine/*' -print0 | LD_LIBRARY_PATH=/test/usr/lib xargs -0 -n 1 -- patchelf --set-rpath /test/usr/lib
1616
sed -i -e 's/^ID=alpine$/ID=linux/' /etc/os-release
1717
fi
1818
shell: sh

0 commit comments

Comments
 (0)