Skip to content

[console] Add note about console use during docker image building #434

Description

@gramian

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions