The idea is to have the option to run tests as part of a build, but to minimise any testing polluting the distributed container, e.g. https://docs.docker.com/language/java/run-tests/