forked from project-dalec/dalec
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathv8.go
More file actions
30 lines (24 loc) · 806 Bytes
/
v8.go
File metadata and controls
30 lines (24 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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: []string{"rocky-release", "tzdata"},
RepoPlatformConfig: &defaultPlatformConfig,
InstallFunc: distro.DnfInstall,
}