run cd as a separate command (otherwise it may conflict with sudo and redirection)
fix min.yml example (save cwd and set DEBIAN_FRONTEND)