targets/linux/rpm/rockylinux/v8.go (22 lines of code) (raw):
package rockylinux
import (
"github.com/Azure/dalec/targets/linux/rpm/distro"
)
const (
v8TargetKey = "rockylinux8"
dnfCacheNameV8 = "rockylinux8-dnf-cache"
// v8Ref is the image ref used for the base worker image
v8Ref = "mcr.microsoft.com/mirror/docker/library/rockylinux:8"
v8FullName = "rockyLinux 8"
// v8WorkerContextName is the build context name that can be used to lookup
v8WorkerContextName = "dalec-rockylinux8-worker"
)
var ConfigV8 = &distro.Config{
ImageRef: v8Ref,
ContextRef: v8WorkerContextName,
CacheName: dnfCacheNameV8,
CacheDir: "/var/cache/dnf",
ReleaseVer: "8",
BuilderPackages: builderPackages,
BasePackages: basePackages(v8TargetKey),
RepoPlatformConfig: &defaultPlatformConfig,
InstallFunc: distro.DnfInstall,
}