[U-Boot] [RFC] [PATCH 1/1] Dockerfile: enable colored output

Heinrich Schuchardt xypron.glpk at gmx.de
Sun Oct 6 15:12:02 UTC 2019


Set environment variables needed for colored output.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
Hello Tom,

I do not have my own Gitlab to test this. But we should get a more legible
output with these variables set.

Best regards

Heinrich
---
 Dockerfile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index 1d7a3da..7df9e71 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,6 +6,10 @@ FROM ubuntu:xenial-20190720
 MAINTAINER Tom Rini <trini at konsulko.com>
 LABEL Description=" This image is for building U-Boot inside a container"

+# Let's have colored output
+ENV TERM=xterm-256color
+ENV PYTEST_ADDOPTS="--color=yes"
+
 # Make sure apt is happy
 ENV DEBIAN_FRONTEND=noninteractive

--
2.23.0



More information about the U-Boot mailing list