From b92bbfd768c97782d55d94d53c7b1250e9709b0a Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Mon, 19 Jul 2021 06:39:59 -0400 Subject: Just restore protections of shadow-utils Rather then reinstalling shadow-utils to fix permissions, just restore the correct permissions. [NO TESTS NEEDED] Since this does not affect Podman, just the prebuilt images on quay.io/podman. Signed-off-by: Daniel J Walsh --- contrib/podmanimage/stable/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/podmanimage/stable') diff --git a/contrib/podmanimage/stable/Dockerfile b/contrib/podmanimage/stable/Dockerfile index 2f86dd4ae..a5d485e7f 100644 --- a/contrib/podmanimage/stable/Dockerfile +++ b/contrib/podmanimage/stable/Dockerfile @@ -11,7 +11,7 @@ FROM registry.fedoraproject.org/fedora:latest # Don't include container-selinux and remove # directories used by yum that are just taking # up space. -RUN dnf -y update; yum -y reinstall shadow-utils; \ +RUN dnf -y update; rpm --restore --quiet shadow-utils; \ yum -y install podman fuse-overlayfs --exclude container-selinux; \ rm -rf /var/cache /var/log/dnf* /var/log/yum.* -- cgit v1.2.3-54-g00ecf