Installing packages in chroot is not a problem, getting internet working in chroot is harder.
mount --bind /etc/resolv.conf /path/to/chrott/etc/resolv.conf