Print container debug info

This commit is contained in:
2026-01-15 21:42:05 -05:00
parent 3201b8507f
commit e40063f7a2

View File

@@ -1995,15 +1995,16 @@ create_mc_apt_container() {
debug "${FUNCNAME[0]}()" "$@" debug "${FUNCNAME[0]}()" "$@"
declare -g CNT declare -g CNT
local -a cmds=("$@") local -a cmds=("$@")
local channel="latest"
local repo="$MC_REPO" local repo="$MC_REPO"
local channel="latest"
if [[ -n $BETAPASS ]]; then if [[ -n $BETAPASS ]]; then
debug "Using beta channel for apt container"
channel="beta"
repo="$MC_REPO_HARDCODE" repo="$MC_REPO_HARDCODE"
channel="beta"
fi fi
debug "Using MC $repo repo $channel channel for apt container"
# shellcheck disable=SC2016 # shellcheck disable=SC2016
{ command -v buildah &>/dev/null || install_package buildah; } && { command -v buildah &>/dev/null || install_package buildah; } &&
CNT=$(buildah from --quiet alpine:edge) && CNT=$(buildah from --quiet alpine:edge) &&