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/upstream/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/podmanimage/upstream/Dockerfile') diff --git a/contrib/podmanimage/upstream/Dockerfile b/contrib/podmanimage/upstream/Dockerfile index 922eee748..01666e453 100644 --- a/contrib/podmanimage/upstream/Dockerfile +++ b/contrib/podmanimage/upstream/Dockerfile @@ -17,7 +17,7 @@ ENV GOPATH=/root/podman # to the container. # Finally remove the podman directory and a few other packages # that are needed for building but not running Podman -RUN yum -y update; yum -y reinstall shadow-utils; yum -y install --exclude container-selinux \ +RUN yum -y update; rpm --restore --quiet shadow-utils; yum -y install --exclude container-selinux \ --enablerepo=updates-testing \ btrfs-progs-devel \ containernetworking-cni \ -- cgit v1.2.3-54-g00ecf