Skip to content

Commit

Permalink
Update chroot to Ubuntu Noble and OpenJDK 21
Browse files Browse the repository at this point in the history
  • Loading branch information
07joshua03 committed Nov 20, 2024
1 parent 7a6b9e1 commit 921e303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/judgehost/chroot-and-tar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -euo pipefail
sed -i.bak '/# Upgrade the system, and install\/remove packages as desired/i mkdir \"\$CHROOTDIR\/scripts\/" && cp \/scripts\/add_repositories.sh \"\$CHROOTDIR\/scripts\/" && chmod -R 755 \"\$CHROOTDIR\/scripts\/" && in_chroot \"\/scripts\/add_repositories.sh\"\n' /opt/domjudge/judgehost/bin/dj_make_chroot

# Usage: https://github.com/DOMjudge/domjudge/blob/main/misc-tools/dj_make_chroot.in#L58-L87
/opt/domjudge/judgehost/bin/dj_make_chroot -R jammy -i openjdk-17-jre-headless,openjdk-17-jdk-headless,pypy3,icpc-kotlinc
/opt/domjudge/judgehost/bin/dj_make_chroot -R noble -i openjdk-21-jre-headless,openjdk-21-jdk-headless,pypy3,icpc-kotlinc

cd /
echo "[..] Compressing chroot"
Expand Down

0 comments on commit 921e303

Please sign in to comment.