preliminary support for running in a docker container
wip
set common env variables