-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
required packages #43
Comments
i do get colors using
there is really no text underneath the overementioned message. |
actually, @tterranigma the post had some right ideas. I added the following: USER igor
# activate color terminal
ENV TERM xterm-256color
RUN sed -i -e 's/^#force_color_prompt=[^\n]*/force_color_prompt=yes/' ~/.bashrc sourceing Has there been no requirement yet for non-colored terminals? I would have expected pure text-output if no color is activated. |
We do have color mode detection. No colors should be displayed when we detect a terminal without support for colors: bash-oo-framework/lib/UI/Color.sh Line 1 in 505d7eb
Perhaps that line doesn't work under Docker. Happy to accept PRs that fix this! Thanks for investigating. Related issue #19 |
with $ echo [ $(tput colors 2>/dev/null || echo 0) -ge 16 ]
[ 256 -ge 16 ] without setting any ENV: $ echo [ $(tput colors 2>/dev/null || echo 0) -ge 16 ]
[ 8 -ge 16 ] I don't understand the second part but it resolves to $if test -t 1; then echo 1;fi
1 So it seems, standard docker containers get 8 colors. Is 16 colors really a minimum requirement here? |
the framework works out of the box in my current ubuntu.
I have a docker container using debian9 and
bash 4.4.12
. I am getting output like thiswhere the error description and backtrace is missing. Do I need to install any required packages or fonts - I could not find anything.
The text was updated successfully, but these errors were encountered: