General-purpose Ruby Docker image creation