Skip to content

Commit 582ba04

Browse files
authored
Update action.yml
1 parent 3510b7d commit 582ba04

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
@@ -11,7 +11,7 @@ runs:
1111
export LD_LIBRARY_PATH=/tmp/test/usr/lib
1212
docker run --rm --interactive --user 0:0 --volume /:/hostfs --entrypoint /usr/sbin/chroot "$(docker inspect "$(hostname)" --format "{{ .Image }}")" /hostfs /bin/bash -eo pipefail -xs "$(docker inspect "$(hostname)" --format '{{ range.Mounts }}{{ if eq .Destination "/__e" }}{{ .Source }}{{ end }}{{ end }}')" <<'EOF'
1313
export DOCKER_CONFIG="$(readlink -f "$1/../../../.docker")"
14-
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/sh "docker.io/library/node:$("$1" -e "console.log(process.versions.node)")-alpine" -c "apk add --no-cache -- patchelf && cp /usr/local/bin/node /hostfs$1 && apk info --quiet --contents libgcc libstdc++ | xargs tar -cC / -T- | tar -xvC /hostfs$1/../lib --strip-component 2 && patchelf --set-rpath \$ORIGIN/../lib /hostfs$1"' --
14+
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/sh "docker.io/library/node:$("$1" -e "console.log(process.versions.node)")-alpine" -c "apk add --no-cache -- patchelf && cp /usr/local/bin/node /hostfs$1 && apk info --quiet --contents libgcc libstdc++ | xargs tar -cC / -T- | tar -xvC /hostfs$1/../.. --strip-component 2 && patchelf --set-rpath \$ORIGIN/../lib /hostfs$1"' --
1515
EOF
1616
sed -i -e 's/^ID=alpine$/ID=linux/' /etc/os-release
1717
fi

0 commit comments

Comments
 (0)