Add "wrap" mode to lb-docker-run
It's a set of predefined settings for easily and transparently running a containerized command as if it is a local command.
By default the whole $HOME
directory is exposed to the container, or
the directory identified by $WORKSPACE
, and the OS is selected from
the content of $CMTCONFIG
.
The "wrap" mode is enabled explicitly with the --wrap
option or when
lb-docker-run
is the target of a symlink (e.g. a symlink cmake
is
enough to build LHCb projects from the host without explicitly starting
containers).