Skip to content

Truncated response on Alpine #643

@ContinentalGuy

Description

@ContinentalGuy

Hi!

I run jsonschema in Docker container with enabled tty on Alpine + Node JS using this command:

docker run \
      --volume "$DIRECTORY:/$VOLUME_NAME" \
      --user "$UID":"$GID" \
      --workdir "/$VOLUME_NAME" \
      --entrypoint jsonschema \
      -t \
      $JSONSCHEMA_DOCKER_IMAGE \
      test --extension ".test.json"

But I get partial response that differs from what I got on my local PC on Linux Mint.

I tried to pipe response and cat it:

docker run \
      --volume "$DIRECTORY:/$VOLUME_NAME" \
      --user "$UID":"$GID" \
      --workdir "/$VOLUME_NAME" \
      --entrypoint jsonschema \
      -t \
      $JSONSCHEMA_DOCKER_IMAGE \
      test --extension ".test.json" 2>&1 | cat

But the answer still turns out to be truncated.

What should I do to avoid this error?

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