Since our tests are based on Arquillian, we could leverage https://github.com/arquillian/arquillian-cube
This way our tests could run not only on containers directly, but also create image and deploy to docker.