Temp debug
This commit is contained in:
@@ -2015,8 +2015,8 @@ create_mc_apt_container() {
|
|||||||
{ command -v buildah &>/dev/null || install_package buildah &>/dev/null; } &&
|
{ command -v buildah &>/dev/null || install_package buildah &>/dev/null; } &&
|
||||||
CNT=$(buildah from --quiet alpine:edge) &&
|
CNT=$(buildah from --quiet alpine:edge) &&
|
||||||
buildah run --env MC_REPO="$MC_REPO" --env MC_ARCH="$MC_ARCH" "$CNT" -- sh -c '
|
buildah run --env MC_REPO="$MC_REPO" --env MC_ARCH="$MC_ARCH" "$CNT" -- sh -c '
|
||||||
apk add --no-cache apt curl gnupg &>/dev/null
|
apk add --no-cache apt curl gnupg
|
||||||
curl -fsSL https://dist.jriver.com/mediacenter@jriver.com.gpg.key | gpg --dearmor -o /usr/share/keyrings/jriver-com-archive-keyring.gpg &>/dev/null
|
curl -fsSL https://dist.jriver.com/mediacenter@jriver.com.gpg.key | gpg --dearmor -o /usr/share/keyrings/jriver-com-archive-keyring.gpg
|
||||||
cat <<-EOF > /etc/apt/sources.list.d/jriver.sources
|
cat <<-EOF > /etc/apt/sources.list.d/jriver.sources
|
||||||
Types: deb
|
Types: deb
|
||||||
URIs: https://dist.jriver.com/latest/mediacenter/
|
URIs: https://dist.jriver.com/latest/mediacenter/
|
||||||
@@ -2025,7 +2025,7 @@ create_mc_apt_container() {
|
|||||||
Components: main
|
Components: main
|
||||||
Architectures: $MC_ARCH
|
Architectures: $MC_ARCH
|
||||||
EOF
|
EOF
|
||||||
apt-get update &>/dev/null' &&
|
apt-get update' &&
|
||||||
# If user passes command strings run them in the container
|
# If user passes command strings run them in the container
|
||||||
for cmd in "${cmds[@]}"; do
|
for cmd in "${cmds[@]}"; do
|
||||||
buildah run "$CNT" -- sh -c "$cmd" || { err "$cmd failed"; return 1; }
|
buildah run "$CNT" -- sh -c "$cmd" || { err "$cmd failed"; return 1; }
|
||||||
|
|||||||
Reference in New Issue
Block a user