Closed
Description
When running in k8s using gitlab ci flow using docker in docker(dind) for building a container, I get the following issue when using the rustup installer.
/usr/bin/head: error reading '/proc/self/exe': Bad file descriptor
/usr/bin/head: failed to close '/proc/self/exe': Bad file descriptor
rustup: unknown platform bitness
main: line 358: [: : integer expression expected
Looks like /proc/self/exe does not exist or cant be read this leads to issues in this statement:
if [ "${_ostype}" = unknown-linux-gnu ] && [ "${_bitness}" -eq 32 ]; then
Looks like an alternative way of getting the bitsize would be nice, or atleast a check for that this files exist and are readable and that _bitness is not "".
Metadata
Metadata
Assignees
Labels
No labels