What happened?
this is similar to #765
I tried to install croc with bash installer from netshoot container, but it failed to copy from tmp due to unsupported install feature
What did you expect to happen?
it installs correctly (at least, I could launch croc from tmp and it working correctly)
Steps to reproduce
docker run -it --net host nicolaka/netshoot
curl https://getcroc.schollz.com | bash
croc version
croc version v10.3.1
Operating System
Linux
OS Version
docker/podman
Relevant log output
ROG14 ~ curl https://getcroc.schollz.com | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 25715 100 25715 0 0 24185 0 0:00:01 0:00:01 --:--:-- 24213
=================================================
____
/ ___|_ __ ___ ___
| | | '__/ _ \ / __|
| |___| | | (_) | (__
\____|_| \___/ \___|
___ _ _ _
|_ _|_ __ ___| |_ __ _| | | ___ _ __
| || '_ \/ __| __/ _` | | |/ _ \ '__|
| || | | \__ \ || (_| | | | __/ |
|___|_| |_|___/\__\__,_|_|_|\___|_|
==================================================
== Install prefix set to /usr/local/bin
== Created temp dir at /tmp/croc.BmNGpO
== Architecture detected as x86_64
== OS detected as Linux
https://github.com/schollz/croc/releases/download/v10.3.1/croc_v10.3.1_Linux-64bit.tar.gz /tmp/croc.BmNGpO croc_v10.3.1_Linux-64bit.tar.gz
== Downloaded croc archive into /tmp/croc.BmNGpO
== Downloaded croc checksums file into /tmp/croc.BmNGpO
== Checksum of /tmp/croc.BmNGpO/croc_v10.3.1_Linux-64bit.tar.gz verified
== Extracted croc_v10.3.1_Linux-64bit.tar.gz to /tmp/croc.BmNGpO/
== Install prefix already exists. No need to create it.
install: unrecognized option: C
BusyBox v1.37.0 (2025-05-26 20:04:45 UTC) multi-call binary.
Usage: install [-cdDsp] [-o USER] [-g GRP] [-m MODE] [-t DIR] [SOURCE]... DEST
Copy files and set attributes
-c Just copy (default)
-d Create directories
-D Create leading target directories
-s Strip symbol table
-p Preserve date
-o USER Set ownership
-g GRP Set group ownership
-m MODE Set permissions
-t DIR Install to DIR
== Failed to install croc
ROG14 ~ /tmp/croc.BmNGpO/croc -v
croc version v10.3.1
Additional context
No response
What happened?
this is similar to #765
I tried to install croc with bash installer from netshoot container, but it failed to copy from tmp due to unsupported install feature
What did you expect to happen?
it installs correctly (at least, I could launch croc from tmp and it working correctly)
Steps to reproduce
docker run -it --net host nicolaka/netshootcurl https://getcroc.schollz.com | bashcroc version
croc version v10.3.1
Operating System
Linux
OS Version
docker/podman
Relevant log output
Additional context
No response