Mercurial > code > home > repos > infra
diff packages.py @ 273:f7178138b736
pkgs and special podman future version
author | drewp@bigasterisk.com |
---|---|
date | Sun, 03 Mar 2024 21:02:58 -0800 |
parents | 0ed4add0b1a4 |
children | 058c312ffdce |
line wrap: on
line diff
--- a/packages.py Sun Mar 03 21:01:49 2024 -0800 +++ b/packages.py Sun Mar 03 21:02:58 2024 -0800 @@ -33,6 +33,11 @@ "corepack prepare 'pnpm@8.6.3' --activate", ]) +def podman(): + apt.packages(packages=['libsubid4', 'buildah', 'podman-docker'], latest=True) + # frigate build wants to mount a single file from the host, which needs podman 4.5.1 + # https://github.com/containers/podman/issues/12123#issuecomment-1620439593 + apt.deb(src="http://ftp.osuosl.org/pub/ubuntu/pool/universe/libp/libpod/podman_4.9.3+ds1-1_amd64.deb") def pdm(): # https://github.com/pdm-project/pdm/blob/main/CHANGELOG.md @@ -95,6 +100,9 @@ if host.name in ['dash', 'slash', 'ditto', 'dot']: apt.packages(packages=package_lists.k8s_node_with_nvidia_gpu(host.name)) # no kw, or apt will remove nvidia-utils-VERS (!) +if host.name in ['dash', 'slash', 'ditto']: + podman() + if host.name == 'ditto': # should have happened in the previous step, but it gets reverted. apt.packages(packages=['nvidia-utils-535-server'])