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

8 lines
233 B
Bash
Executable file

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