desktop-environment/docker/scripts/exec-root.sh
2019-03-17 09:28:08 +11:00

8 lines
227 B
Bash
Executable file

REPO_ROOT=$(dirname $(readlink -f $0))/../..
# Export desktop environment shell configuration
eval $($REPO_ROOT/docker/scripts/environment.sh)
docker exec \
--interactive \
$DESKTOP_ENVIRONMENT_CONTAINER_NAME zsh -c "$*"