From aa1ede8f89bdf67f0735dc2dbaddf4533a805438 Mon Sep 17 00:00:00 2001 From: Jeremy Eder Date: Fri, 19 Jul 2024 12:47:09 -0400 Subject: [PATCH] add skopeo so that ilab model download will work While skopeo maybe part of the base image, there is no guarantee, and as long as ilab requires it, we should make sure it is installed. Signed-off-by: Dan Walsh --- training/amd-bootc/Containerfile | 1 + training/intel-bootc/Containerfile | 1 + training/nvidia-bootc/Containerfile | 1 + 3 files changed, 3 insertions(+) diff --git a/training/amd-bootc/Containerfile b/training/amd-bootc/Containerfile index 8830a98a..feaea8d7 100644 --- a/training/amd-bootc/Containerfile +++ b/training/amd-bootc/Containerfile @@ -22,6 +22,7 @@ RUN mv /etc/selinux /etc/selinux.tmp && \ rocm-smi \ tmux \ rsync \ + skopeo \ ${EXTRA_RPM_PACKAGES} \ && dnf clean all \ && mv /etc/selinux.tmp /etc/selinux \ diff --git a/training/intel-bootc/Containerfile b/training/intel-bootc/Containerfile index 277cb9dd..1615b6f5 100644 --- a/training/intel-bootc/Containerfile +++ b/training/intel-bootc/Containerfile @@ -51,6 +51,7 @@ RUN . /etc/os-release \ RUN dnf install -y ${EXTRA_RPM_PACKAGES} \ cloud-init \ + skopeo \ rsync \ && dnf clean all \ && ln -s ../cloud-init.target /usr/lib/systemd/system/default.target.wants diff --git a/training/nvidia-bootc/Containerfile b/training/nvidia-bootc/Containerfile index 67707885..f1e304c4 100644 --- a/training/nvidia-bootc/Containerfile +++ b/training/nvidia-bootc/Containerfile @@ -136,6 +136,7 @@ RUN mv /etc/selinux /etc/selinux.tmp \ nvidia-persistenced-${DRIVER_VERSION} \ nvidia-container-toolkit \ rsync \ + skopeo \ ${EXTRA_RPM_PACKAGES} \ && if [[ "$(rpm -qa | grep kernel-core | wc -l)" != "1" ]]; then \ echo "ERROR - Multiple kernel-core packages detected"; \