Download scripts/bootstrap-shell.sh from dn-scribe/attstore: direct link, hf CLI and curl.
- Browser
- Download file 633 Bytes
-
https://huggingface.co/spaces/dn-scribe/attstore/resolve/main/scripts/bootstrap-shell.sh
- Command line
-
hf download hf://spaces/dn-scribe/attstore/scripts/bootstrap-shell.sh
-
curl -L -o bootstrap-shell.sh https://huggingface.co/spaces/dn-scribe/attstore/resolve/main/scripts/bootstrap-shell.sh
633 Bytes
| # | |
| # On-demand installer for basic CLI tooling inside the lean container. | |
| set -euo pipefail | |
| if [[ "$(id -u)" -ne 0 ]]; then | |
| echo "bootstrap-shell must run as root (use docker exec -u 0 ...)" >&2 | |
| exit 1 | |
| fi | |
| echo "Updating package index and installing debugging helpers..." | |
| apk add --no-cache \ | |
| bash \ | |
| bind-tools \ | |
| curl \ | |
| iproute2 \ | |
| iputils \ | |
| jq \ | |
| less \ | |
| net-tools \ | |
| procps-ng \ | |
| vim \ | |
| wget | |
| cat <<'EOM' | |
| Done. Common debugging tools are now available in this container. | |
| - bash, vim, less | |
| - curl, wget, jq | |
| - iproute2, iputils, net-tools, bind-tools, procps-ng | |
| EOM | |