targets/linux/rpm/rockylinux/v9.go (22 lines of code) (raw):

package rockylinux import ( "github.com/Azure/dalec/targets/linux/rpm/distro" ) const ( v9TargetKey = "rockylinux9" dnfCacheNameV9 = "rockylinux9-dnf-cache" // v9Ref is the image ref used for the base worker image v9Ref = "mcr.microsoft.com/mirror/docker/library/rockylinux:9" v9FullName = "rockyLinux 9" // v9WorkerContextName is the build context name that can be used to lookup v9WorkerContextName = "dalec-rockylinux9-worker" ) var ConfigV9 = &distro.Config{ ImageRef: v9Ref, ContextRef: v9WorkerContextName, CacheName: dnfCacheNameV9, CacheDir: "/var/cache/dnf", ReleaseVer: "9", BuilderPackages: append(builderPackages, "systemd-rpm-macros"), BasePackages: basePackages(v9TargetKey), RepoPlatformConfig: &defaultPlatformConfig, InstallFunc: distro.DnfInstall, }