Hashar has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/395093 )
Change subject: docker: set FORCE_COLOR for supports-color ...................................................................... docker: set FORCE_COLOR for supports-color The Webdriver.io spec report relies on "supports-color" to detect whether it should colorize output. The module checks whether stdout is a TTY which is not the case since we use "docker run" without a pseudo-TTY allocation. Set FORCE_COLOR in the "npm" base Docker image to force color output. Change-Id: Ic4d071dc9011d70d6ba5ab2826784a4a92564361 --- M dockerfiles/npm/Dockerfile 1 file changed, 5 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/integration/config refs/changes/93/395093/1 diff --git a/dockerfiles/npm/Dockerfile b/dockerfiles/npm/Dockerfile index 9b68bd8..aa55a7d 100644 --- a/dockerfiles/npm/Dockerfile +++ b/dockerfiles/npm/Dockerfile @@ -23,5 +23,10 @@ ENV NPM_CONFIG_CACHE=/cache ENV BABEL_CACHE_PATH=$XDG_CACHE_HOME/babel-cache.json +# We do not allocate a pseudo-tty with Docker since that disable signal +# proxying. Force color output for supports-colors +# https://www.npmjs.com/package/supports-color +ENV FORCE_COLOR=1 + ENTRYPOINT ["npm"] CMD ["--help"] -- To view, visit https://gerrit.wikimedia.org/r/395093 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic4d071dc9011d70d6ba5ab2826784a4a92564361 Gerrit-PatchSet: 1 Gerrit-Project: integration/config Gerrit-Branch: master Gerrit-Owner: Hashar <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
