The current Repackager class isn't flexible enough to be reused to create Docker images. We need to split it up so that we can create docker images without needing to write a fat jar to disk.