Skip to content

Adding a new language

MCJ Vasseur edited this page Mar 5, 2022 · 6 revisions

Adding a new language

DOMjudge has a default set of languages but its possible to add your own. Every submission is ran in an isolated container so the best way to test is to start this container with domjudge_run_chroot and test if this does work.

Default DOMjudge will not mount the /tmp which is used by for example R, so in case of such failures check if the tmp dir can be set with an environment variable or extend the chroot-start-stop.

Be aware that providing writable directories opens up a security hole where the submission may write data to temp and this way pass information from one testcase run to the next.

Clone this wiki locally