All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [RFC] [PATCH 1/1] Dockerfile: enable colored output
@ 2019-10-06 15:12 Heinrich Schuchardt
  2019-10-06 16:35 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Heinrich Schuchardt @ 2019-10-06 15:12 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [RFC] [PATCH 1/1] Dockerfile: enable colored output
  2019-10-06 15:12 [U-Boot] [RFC] [PATCH 1/1] Dockerfile: enable colored output Heinrich Schuchardt
@ 2019-10-06 16:35 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2019-10-06 16:35 UTC (permalink / raw)
  To: u-boot

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!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191006/1e27fb62/attachment.sig>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-06 16:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-06 15:12 [U-Boot] [RFC] [PATCH 1/1] Dockerfile: enable colored output Heinrich Schuchardt
2019-10-06 16:35 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.