mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
armbian-next: docker: fix Dockerfile generation; don't output logs info during Dockerfile build
This commit is contained in:
@@ -146,7 +146,7 @@ function export_ansi_logs() {
|
||||
declare target_relative_to_src
|
||||
target_relative_to_src="$(realpath --relative-to="${SRC}" "${target_file}")"
|
||||
|
||||
if [[ "${show_message_after_export:-"yes"}" != "skip" ]]; then
|
||||
if [[ "${show_message_after_export:-"yes"}" != "skip" && "${ARMBIAN_INSIDE_DOCKERFILE_BUILD:-"no"}" != "yes" ]]; then
|
||||
display_alert "ANSI log file built; inspect it by running:" "less -RS ${target_relative_to_src}"
|
||||
display_alert "Share log (beta 2!)" "curl --data-binary @${target_relative_to_src} https://paste.next.armbian.com/log"
|
||||
# @TODO: compress; have a CLI cmd to upload; also render Markdown logs, etc
|
||||
|
||||
Reference in New Issue
Block a user