Add ENV variables support to WORKDIR build command

Docker-DCO-1.1-Signed-off-by: Adrien Folie <folie.adrien@gmail.com> (github: folieadrien)
do you have something in mind ? It seems that `ReplaceEnvMatches` only fails if the regex is incorrect.