Skip to content

Commit 825d417

Browse files
authored
Update action.yml
1 parent e7d9ef3 commit 825d417

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
@@ -13,7 +13,7 @@ runs:
1313
'find "$5" -type f -executable -name node -not -path "*_alpine/*" -print0 | sudo -u "$(stat -c "%U" "$5")" -- xargs -0 -n 1 -- /bin/bash -xc "$@"' -- \
1414
'docker run --rm --volume /:/hostfs --entrypoint /bin/sh "docker.io/library/node:$("$4" -e "console.log(process.versions.node)")-alpine" -xc "$@"' -- \
1515
'apk add --no-cache -- patchelf && cp "$(which node)" "/hostfs$2" && apk info --quiet --contents libgcc libstdc++ | xargs -- tar -cC / -T- | tar -xvC "$(dirname "$(dirname "/hostfs$2")")" --strip-components 1 && patchelf --set-rpath \$ORIGIN/../lib "/hostfs$2" && ldd "/hostfs$2"' -- \
16-
"$(docker inspect "$(hostname)" --format '{{ range.Mounts }}{{ if eq .Destination "/__e" }}{{ .Source }}{{ end }}{{ end }}')" )
16+
"$(docker inspect "$(hostname)" --format '{{ range.Mounts }}{{ if eq .Destination "/__e" }}{{ .Source }}{{ end }}{{ end }}')"
1717
1818
sed -i -e 's/^ID=alpine$/ID=linux/' /etc/os-release
1919
rm -rf -- "$(pwd)"

0 commit comments

Comments
 (0)