Replies: 2 comments
-
It detects if there's a TTY attached on STDERR (using Which is a utility in containerd's Actual detection is platform-dependent, here's the handling for Unix and Windows; https://github.com/containerd/console/blob/8f6c4e4faef5a326d2cd907097d04c0239ee5e2f/console_unix.go#L124-L130 It's likely that CI in your case as a TTY attached, in which case the default ( |
Beta Was this translation helpful? Give feedback.
-
got it, thanks! so
will send a pr to appveyor 👍 |
Beta Was this translation helpful? Give feedback.
-
how does docker-build determine it's not tty?
in github actions ci,
docker build .
automatically switch to text mode, while on appveyor ci it thinks tty is available which makes the output very hard to read (it keeps repeating the whole dockerfile with every line printed during progress, so imagine 60K lines surprise when runningapt install
...). to avoid that, every docker-build line needs--progress=plain
.but what exactly makes docker decide this? setting TERM=xterm-256color, unsetting TERM or setting it to
dumb
on both CIs as well as piping both to tee didn't make any differenceBeta Was this translation helpful? Give feedback.
All reactions