Minimise the number of layers in Docker image.