Jenkins Console Output missing color

:rocket: Jenkins instance deployed, two jobs (JobA and JobB) pipeline using Docker Agents.

:memo: JobA uses ubuntu based image with $TERM=xterm
:memo: JobB uses debian based image with $TERM=xterm

:white_check_mark: Builds executed on JobA gets color from java/maven commands
:x: Builds executed on JobA gets color from java/maven commands

I think there is something missing on debian image, I’ve tried to install several packages (ncurses-term, libicu-dev, iso-codes, locales), executed locale-gen en_US.UTF-8 and I was able to get color when I run debian container directly and but on Jenkins builds nothing worked.

Jenkins setup:
Jenkins 2.346.3
AnsiColor plugin 1.0.2 (colormap xterm)