Add ENV variables support to WORKDIR build command

Fixes #2637
Docker-DCO-1.1-Signed-off-by: Adrien Folie <folie.adrien@gmail.com> (github: folieadrien)