summaryrefslogtreecommitdiff
path: root/contrib/podmanimage/testing/Dockerfile
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-07-19 08:51:54 -0400
committerGitHub <noreply@github.com>2021-07-19 08:51:54 -0400
commitec5ab591ddbb905b69b3daa6012e9c0dfde9fcec (patch)
tree823d41cb9a5eef4666c3e076c6a30d9b884b2b31 /contrib/podmanimage/testing/Dockerfile
parent20c9f74c77683730455df4fb5e7722a192b78a92 (diff)
parentb92bbfd768c97782d55d94d53c7b1250e9709b0a (diff)
downloadpodman-ec5ab591ddbb905b69b3daa6012e9c0dfde9fcec.tar.gz
podman-ec5ab591ddbb905b69b3daa6012e9c0dfde9fcec.tar.bz2
podman-ec5ab591ddbb905b69b3daa6012e9c0dfde9fcec.zip
Merge pull request #10980 from rhatdan/dockerfile
[CI:DOCS] Just restore protections of shadow-utils
Diffstat (limited to 'contrib/podmanimage/testing/Dockerfile')
-rw-r--r--contrib/podmanimage/testing/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/podmanimage/testing/Dockerfile b/contrib/podmanimage/testing/Dockerfile
index 63b31252f..1090fed00 100644
--- a/contrib/podmanimage/testing/Dockerfile
+++ b/contrib/podmanimage/testing/Dockerfile
@@ -13,7 +13,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 yum -y update; yum -y reinstall shadow-utils; yum -y install podman fuse-overlayfs --exclude container-selinux --enablerepo updates-testing; rm -rf /var/cache /var/log/dnf* /var/log/yum.*
+RUN yum -y update; rpm --restore --quiet shadow-utils; yum -y install podman fuse-overlayfs --exclude container-selinux --enablerepo updates-testing; rm -rf /var/cache /var/log/dnf* /var/log/yum.*
RUN useradd podman; \
echo podman:10000:5000 > /etc/subuid; \