From 955040efdbe2c2e6e01797f59fb657313aceb86f Mon Sep 17 00:00:00 2001 From: Lance Albertson Date: Mon, 1 Jul 2024 15:36:30 -0700 Subject: [PATCH] fix: Switch to using AlmaLinux 9 for the data container (#329) 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