From cbeab55eb69ef472cc7f73268c04e55b97a7c34c Mon Sep 17 00:00:00 2001 From: Claudiu Belu <1552519+claudiubelu@users.noreply.github.com> Date: Fri, 22 Jan 2021 17:34:15 +0200 Subject: [PATCH] test images: Adds --progress=plain to docker buildx build The default value for the progress is ``auto``, which will eat the output of RUN commands. This makes it a bit hard to debug when issues occur. Changing that option to ``plain`` will ensure that the output is properly kept. --- test/images/image-util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/images/image-util.sh b/test/images/image-util.sh index 22f048d80726..fe9f244eacdc 100755 --- a/test/images/image-util.sh +++ b/test/images/image-util.sh @@ -160,7 +160,7 @@ build() { fi fi - docker buildx build --no-cache --pull --output=type="${output_type}" --platform "${os_name}/${arch}" \ + docker buildx build --progress=plain --no-cache --pull --output=type="${output_type}" --platform "${os_name}/${arch}" \ --build-arg BASEIMAGE="${base_image}" --build-arg REGISTRY="${REGISTRY}" --build-arg OS_VERSION="${os_version}" \ -t "${REGISTRY}/${image}:${TAG}-${suffix}" -f "${dockerfile_name}" .