new tool mkenvimage: generates an env image from an arbitrary config file