2020 "sql" : {
2121 "fedora" : ["mariadb-devel" , "sqlite-devel" ],
2222 "ubuntu" : ["libmysqlclient-dev" , "libsqlite3-dev" ],
23- # On Arch, dev headers are included in the main pkgs; no -devel splits
2423 "archlinux" : ["mariadb" , "mariadb-libs" , "sqlite" ],
2524 },
2625 "python_ninja" : {
3433 "archlinux" : ["mesa" , "glu" , "libx11" , "libxpm" , "libxft" ],
3534 },
3635 "x11_2" : {
37- "fedora" : ["libXt-devel" , "libXmu-devel" , "libXrender-devel" ,
38- "xorg-x11-server-Xvfb" , "xrandr" ],
39- # Ubuntu/Debian: xrandr is in x11-xserver-utils (not a pkg called 'xrandr')
40- "ubuntu" : ["libxt-dev" , "libxmu-dev" , "libxrender-dev" ,
41- "xvfb" , "x11-xserver-utils" ],
42- # Arch: xrandr is xorg-xrandr; xvfb via xorg-server-xvfb
43- "archlinux" : ["libxt" , "libxmu" , "libxrender" ,
44- "xorg-server-xvfb" , "xorg-xrandr" ],
36+ "fedora" : ["libXt-devel" , "libXmu-devel" , "libXrender-devel" , "xorg-x11-server-Xvfb" ,
37+ "xrandr" ],
38+ "ubuntu" : ["libxt-dev" , "libxmu-dev" , "libxrender-dev" , "xvfb" ,
39+ "x11-xserver-utils" ],
40+ "archlinux" : ["libxt" , "libxmu" , "libxrender" , "xorg-server-xvfb" ,
41+ "xorg-xrandr" ],
42+
4543 },
4644 "utilities_1" : {
4745 "fedora" : ["bzip2" , "wget" , "curl" , "nano" , "bash" , "tcsh" , "zsh" ,
4846 "hostname" , "gedit" , "environment-modules" , "pv" , "which" ],
49- # Ubuntu/Debian: 'which' is 'which' (not gnu-which)
5047 "ubuntu" : ["bzip2" , "wget" , "curl" , "nano" , "bash" , "tcsh" , "zsh" ,
5148 "hostname" , "gedit" , "environment-modules" , "pv" , "which" , "ca-certificates" ],
5249 "archlinux" : ["bzip2" , "wget" , "curl" , "nano" , "bash" , "tcsh" , "zsh" ,
53- "hostname" , "gedit" , "environment-modules" , "pv" , "which" ],
50+ "inetutils" , "gedit" , "environment-modules" , "pv" , "which" ],
51+
5452 },
5553 "utilities_2" : {
5654 "fedora" : ["psmisc" , "procps" , "mailcap" , "net-tools" , "rsync" , "patch" ],
6563 "qt6" : {
6664 "fedora" : ["qt6-qtbase-devel" ],
6765 "ubuntu" : ["qt6-base-dev" , "libqt6opengl6t64" , "libqt6openglwidgets6t64" ],
68- "archlinux" : ["qt6-base" , "qt6-base-devel" ],
66+ "archlinux" : ["qt6-base" ],
6967 },
7068 "root" : {
7169 "fedora" : ["root" ],
@@ -252,6 +250,7 @@ def packages_install_commands(image: str, base: str) -> str:
252250 commands += docker_header (base )
253251
254252 is_alma = "almalinux" in image .lower ()
253+ is_arch = "archlinux" in image .lower ()
255254
256255 if family == "fedora" :
257256 commands += "RUN update-ca-trust\n \n "
@@ -277,6 +276,7 @@ def packages_install_commands(image: str, base: str) -> str:
277276 commands += install_root_tarball (image , local_setup_file )
278277
279278 elif family == "archlinux" :
279+ commands += f"RUN pacman -Sy --noconfirm archlinux-keyring\n "
280280 commands += f"RUN pacman -Syu --noconfirm { packages } { cleanup } "
281281
282282 commands += install_meson ()
0 commit comments