1 2 3 4 5 6
PACKAGES = [ "python", "docker.io" ] @hooks.hook() def install(): apt_upgrade(fatal=True, dist=True) apt_install(PACKAGES, fatal=True) load_docker_image()