packer-images/images/almalinux/9.6/base/variables.auto.pkrvars.hcl
Ben Vincent 1c3584790d
All checks were successful
Deploy / build (push) Successful in 12m32s
feat: migrate 9.5 to 9.6 (#19)
- replace almalinux 9.5 with almalinux 9.6
- upgrade el8.10 epel repo to use packagerepo
- add version to all el8.10 images to force a rebuild

Reviewed-on: https://git.query.consul/unkin/packer-images/pulls/19
2025-06-08 23:08:56 +10:00

30 lines
633 B
HCL

# almalinux/9.5/base
deploy_files_from_image = true
deploy_files_from_common = true
use_incus = true
packages = [
"git",
"jq",
"make",
"python3.11",
"python3.11-pip",
"python3.12",
"python3.12-pip",
"unkin-ca-certificates",
"uv",
"wget",
]
scripts_pre_file_copy = [
"rm -f /etc/yum.repos.d/*.repo",
"curl -k -o internal-ca-certificates.rpm https://git.query.consul/unkin/-/packages/rpm/internal-ca-certificates/20240825-1.el8/files/756 && rpm -i internal-ca-certificates.rpm"
]
scripts_pre_packages = [
"dnf makecache",
"dnf update -y",
]
scripts_final = [
"dnf clean all",
"rm -rf /var/cache/dnf"
]