]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
testnode container changes
authorZack Cerza <zack@redhat.com>
Thu, 26 Jan 2023 19:57:09 +0000 (12:57 -0700)
committerZack Cerza <zack@redhat.com>
Mon, 20 Feb 2023 20:17:58 +0000 (13:17 -0700)
containers/testnode/Dockerfile

index 71d2809cfdb4101713942a410a9ed88001c4c4ff..7f0f8fd15f2cffd81787c5939aa7b766051af1db 100644 (file)
@@ -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; \