Add the building of Docker images to CI

Created by: HannoSpreeuw

I could add the building of Docker images to your CI system, if you would like that.

This is in relation to issue #2038, so to prevent this from occurring again.