setEnv

Sets the necessary environment variables for the image.