# HG changeset patch # User wenzelm # Date 1714155495 -7200 # Node ID 059d5e115ae356aa84ace3a1340bd81006248e9f # Parent 6b9d5cae457904a1e01a6fa882b506fd2cb1bf8a support more Ubuntu versions; diff -r 6b9d5cae4579 -r 059d5e115ae3 src/Doc/System/Misc.thy --- a/src/Doc/System/Misc.thy Fri Apr 26 20:14:27 2024 +0200 +++ b/src/Doc/System/Misc.thy Fri Apr 26 20:18:15 2024 +0200 @@ -72,17 +72,18 @@ Option \<^verbatim>\-B\ specifies the Docker image taken as starting point for the Isabelle installation: it needs to be a suitable version of Ubuntu Linux, see also \<^url>\https://hub.docker.com/_/ubuntu\. The default for Isabelle2024 - is \<^verbatim>\ubuntu:22.04\, but other versions often work as well, after some - experimentation with packages. + is \<^verbatim>\ubuntu:22.04\, but \<^verbatim>\ubuntu:20.04\ and \<^verbatim>\ubuntu:24.04\ should work as + well. Other versions might require experimentation with the package + selection. Option \<^verbatim>\-p\ includes additional Ubuntu packages, using the terminology of \<^verbatim>\apt-get install\ within the underlying Linux distribution. Option \<^verbatim>\-P\ refers to high-level package collections: \<^verbatim>\X11\ or \<^verbatim>\latex\ as - provided by \<^verbatim>\isabelle docker_build\ (assuming Ubuntu 22.04 LTS). This - imposes extra weight on the resulting Docker images. Note that \<^verbatim>\X11\ will - only provide remote X11 support according to the modest GUI quality - standards of the late 1990-ies. + provided by \<^verbatim>\isabelle docker_build\ (assuming Ubuntu 20.04/22.04/24.04 + LTS). This imposes extra weight on the resulting Docker images. Note that + \<^verbatim>\X11\ will only provide remote X11 support according to the modest GUI + quality standards of the late 1990-ies. \<^medskip> Option \<^verbatim>\-n\ suppresses the actual \<^verbatim>\docker build\ process. Option \<^verbatim>\-o\ diff -r 6b9d5cae4579 -r 059d5e115ae3 src/Pure/System/linux.scala --- a/src/Pure/System/linux.scala Fri Apr 26 20:14:27 2024 +0200 +++ b/src/Pure/System/linux.scala Fri Apr 26 20:18:15 2024 +0200 @@ -42,6 +42,7 @@ def is_ubuntu: Boolean = id == "Ubuntu" def is_ubuntu_20_04: Boolean = is_ubuntu && release == "20.04" def is_ubuntu_22_04: Boolean = is_ubuntu && release == "22.04" + def is_ubuntu_24_04: Boolean = is_ubuntu && release == "24.04" }