When doing more advanced chroot configurations (custom source tars etc.) we advice using dj_run_chroot. For first time users this can be confusing so we should consider the following things:
Just mounting every dir from the chroot, this is a security issue
Mounting /opt as this is according to FHS the correct locations for such configs
Mention explicit which dirs are mounted when invoking dj_run_chroot
Southern California mounts /opt in the chroot. We typically install the Kotlin compiler in /opt and this allows us to make the chroot area the same as our judgehost and contestant images.
When doing more advanced chroot configurations (custom source tars etc.) we advice using
dj_run_chroot
. For first time users this can be confusing so we should consider the following things:/opt
as this is according to FHS the correct locations for such configsdj_run_chroot
DJ$PS1