Print container debug info
This commit is contained in:
@@ -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) &&
|
||||||
|
|||||||
Reference in New Issue
Block a user