File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 1212 docker run --rm --user 0:0 --volume /:/hostfs --entrypoint /usr/sbin/chroot "$(docker inspect "$(hostname)" --format "{{ .Image }}")" /hostfs /bin/bash -xc \
1313 'find "$0" -type f -executable -name node -not -path "*_alpine/*" -print0 | sudo -u "$(stat -c "%U" "$0")" -- xargs -0 -n 1 -- /bin/bash -xc "$@"' "$(docker inspect "$(hostname)" --format '{{ range.Mounts }}{{ if eq .Destination "/__e" }}{{ .Source }}{{ end }}{{ end }}')" \
1414 'docker run --rm --volume /:/hostfs --entrypoint /bin/sh "docker.io/library/node:$("$3" -e "console.log(process.versions.node)")-alpine" -xc "$@"' -- \
15- '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$1")")" --strip-components 1 && patchelf --set-rpath \$ORIGIN/../lib "/hostfs$1" && ldd "/hostfs$1"' --
15+ 'apk add --no-cache -- patchelf && cp "$(which node)" "/hostfs$1 " && apk info --quiet --contents libgcc libstdc++ | xargs -- tar -cC / -T- | tar -xvC "$(dirname "$(dirname "/hostfs$1")")" --strip-components 1 && patchelf --set-rpath \$ORIGIN/../lib "/hostfs$1" && ldd "/hostfs$1"' --
1616 rm -rf -- "$TMPDIR"
1717 sed -i -e 's/^ID=alpine$/ID=linux/' -- /etc/os-release
1818 fi
You can’t perform that action at this time.
0 commit comments