When using the console in a Dockerfile, for example to set up a schema, "jline" probes terminal capabilities on start. This leaves symbol groups like ^[[?2027;0$y and ^[[?61;1;21;22c in the input which are emitted after the image build concludes.
To avoid this, use TERM=dumb as command-local environment variable, like:
TERM=dumb bin/console.sh -b "LOAD myscript.sql;"
This info could be added as a note to the console section of the docs.
When using the console in a Dockerfile, for example to set up a schema, "jline" probes terminal capabilities on start. This leaves symbol groups like
^[[?2027;0$yand^[[?61;1;21;22cin the input which are emitted after the image build concludes.To avoid this, use
TERM=dumbas command-local environment variable, like:This info could be added as a note to the console section of the docs.