After setting the environment in the container, evaluate the env variables before execution

Docker-DCO-1.1-Signed-off-by: Boopathi Rajaa <me@boopathi.in> (github: boopathi)