We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdaae9c commit 97aa41cCopy full SHA for 97aa41c
action.yml
@@ -9,7 +9,7 @@ runs:
9
apk add --no-cache -- docker-cli libstdc++
10
docker run --rm --entrypoint /bin/chroot --volume /:/hostfs "$(docker inspect "$(hostname)" --format "{{ .Image }}")" /hostfs /bin/bash -xes "$(docker inspect "$(hostname)" --format '{{ range.Mounts }}{{ if eq .Destination "/__e" }}{{ .Destination }}{{ end }}{{ end }}')" <<'EOF'
11
find "$1" -type f -executable -name 'node' -not -path '*_alpine/*' -print0 | xargs -0 -n 1 -- sh -xc 'docker run --rm --volume /:/hostfs "docker.io/library/node:$("$1" -e "console.log(process.versions.node)")-alpine" -e "fs.copyFileSync(process.execPath, process.argv[1])" -- "/hostfs/$1"' --
12
- EOF
+ EOF
13
sed -i -e 's/^ID=alpine$/ID=linux/' /etc/os-release
14
fi
15
shell: sh
0 commit comments