From: Zack Cerza Date: Thu, 26 Jan 2023 19:57:09 +0000 (-0700) Subject: testnode container changes X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ab28e4c3b154e6a97cdacbb21b359ef23eae0227;p=teuthology.git testnode container changes --- diff --git a/containers/testnode/Dockerfile b/containers/testnode/Dockerfile index 71d2809cf..7f0f8fd15 100644 --- a/containers/testnode/Dockerfile +++ b/containers/testnode/Dockerfile @@ -1,7 +1,9 @@ FROM quay.io/centos/centos:stream8 RUN dnf -y update && \ - dnf -y reinstall shadow-utils && \ - dnf -y install podman crun --exclude container-selinux + rpm --setcaps shadow-utils 2>/dev/null && \ + dnf -y install podman crun --exclude container-selinux && \ + dnf clean all && \ + rm -rf /var/cache /var/log/dnf* /var/log/yum* RUN useradd podman; \ echo podman:0:5000 > /etc/subuid; \ echo podman:0:5000 > /etc/subgid; \