From d6e5742ecf88805393c5d85ca8bd434b10002201 Mon Sep 17 00:00:00 2001 From: Gregory Kurtzer Date: Tue, 3 May 2022 23:26:33 -0700 Subject: [PATCH] Fixes for the Rocky Linux default container --- containers/Docker/rocky-8 | 54 +++++++++++++++------------------------ 1 file changed, 21 insertions(+), 33 deletions(-) diff --git a/containers/Docker/rocky-8 b/containers/Docker/rocky-8 index b83ede90..4fa930ce 100644 --- a/containers/Docker/rocky-8 +++ b/containers/Docker/rocky-8 @@ -1,6 +1,7 @@ FROM docker.io/library/rockylinux:8 -RUN dnf install -y --allowerasing coreutils \ +RUN dnf update -y ;\ + dnf install -y --allowerasing coreutils \ cpio \ dhclient \ e2fsprogs \ @@ -22,36 +23,23 @@ RUN dnf install -y --allowerasing coreutils \ strace \ wget \ which \ - words - -RUN < /etc/warewulf/container_exit.sh ;\ + echo "set -x" >> /etc/warewulf/container_exit.sh ;\ + echo "LANG=C" >> /etc/warewulf/container_exit.sh ;\ + echo "LC_CTYPE=C" >> /etc/warewulf/container_exit.sh ;\ + echo "export LANG LC_CTYPE" >> /etc/warewulf/container_exit.sh ;\ + echo "dnf clean all" >> /etc/warewulf/container_exit.sh ;\ + echo "/boot/" > /etc/warewulf/excludes ;\ + echo "/usr/share/GeoIP" >> /etc/warewulf/excludes \ No newline at end of file