My first thought was simply a shell, but that requires Testcontainers to bind tty to it, so I lose the ability to collect logs for some reason.
Second thought was some HTTP server where I just POST something to it, and it would print whatever body I post to stdout. Don't know if there's anything like it readily available..