-aARCH
CPU architecture for the chroot. If not set, then it's the same as the host's architecture. If
it's different from the host's architecture, then it will be emulated using qemu-user. Options:
x86_64, x86, aarch64, armhf, armv7, ppc64le, riscv64, s390x.
-bALPINE_BRANCH
Alpine branch to install (default is latest-stable).
-dCHROOT_DIR
Absolute path to the directory where Alpine chroot should be installed; Debian's version of this
script requires giving this explicitly -- such as -d/alpine-iBIND_DIR
Absolute path to the directory on the host system that should be mounted on the same path inside
the chroot (default is PWD, if it's under /home, or none).
-kCHROOT_KEEP_VARS
Names of the environment variables to pass from the host environment into chroot by the enter-
chroot script. Name may be an extended regular expression. Default: ARCH CI QEMU_EMULATOR
TRAVIS_.*.
-mALPINE_MIRROR
URI of the Aports mirror to fetch packages from (default is http://dl-cdn.alpinelinux.org/alpine).
-pALPINE_PACKAGES
Alpine packages to install into the chroot (default is build-base ca-certificates ssl_client).
-rEXTRA_REPOS
Alpine repositories to be added to /etc/apk/repositories (main and community from $ALPINE_MIRROR
are always added).
-tTEMP_DIR
Absolute path to the directory where to store temporary files (defaults to `mktemp -d`).
-h Show this help message and exit.
-v Print version and exit.
APK_TOOLS_URI
URL of apk.static to download. Default is x86_64 binary from
https://gitlab.alpinelinux.org/alpine/apk-tools/-/packages.
APK_TOOLS_SHA256
SHA-256 checksum of $APK_TOOLS_URI.
Each option can be also provided by environment variable. If both option and variable is specified and
the option accepts only one argument, then the option takes precedence.