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

Set environment variables needed for colored output.
Signed-off-by: Heinrich Schuchardt xypron.glpk@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@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

On Sun, Oct 06, 2019 at 05:12:02PM +0200, Heinrich Schuchardt wrote:
Set environment variables needed for colored output.
Signed-off-by: Heinrich Schuchardt xypron.glpk@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.
You can build your own images, push those and have your branch use them, as that's how I test my own Docker changes. If you can't easily do that however, I'll give this a spin. Thanks!
participants (2)
-
Heinrich Schuchardt
-
Tom Rini