#!/usr/bin/env bash # # 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