From 9b20dfd6d3ec43e80e8968a84058c608a4d7c6c8 Mon Sep 17 00:00:00 2001 From: Lance Albertson Date: Mon, 1 Jul 2024 14:16:59 -0700 Subject: [PATCH] Switch to using AlmaLinux 9 for the data container CentOS 7 was EOL yesterday and this is breaking all dokken workflows. Signed-off-by: Lance Albertson --- lib/kitchen/helpers.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/kitchen/helpers.rb b/lib/kitchen/helpers.rb index c301bfd..dca6f3a 100644 --- a/lib/kitchen/helpers.rb +++ b/lib/kitchen/helpers.rb @@ -58,7 +58,7 @@ def insecure_ssh_private_key end def data_dockerfile(registry) - from = "centos:7" + from = "almalinux:9" if registry from = "#{registry}/#{from}" end @@ -67,7 +67,7 @@ def data_dockerfile(registry) MAINTAINER Sean OMeara "sean@sean.io" ENV LANG en_US.UTF-8 - RUN yum -y install tar rsync openssh-server passwd git + RUN dnf -y install tar rsync openssh-server passwd git RUN ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N '' # uncomment to debug cert issues