summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/gate/Dockerfile2
-rw-r--r--contrib/spec/podman.spec.in4
2 files changed, 5 insertions, 1 deletions
diff --git a/contrib/gate/Dockerfile b/contrib/gate/Dockerfile
index f86709b00..657b5accf 100644
--- a/contrib/gate/Dockerfile
+++ b/contrib/gate/Dockerfile
@@ -13,7 +13,7 @@ COPY . $GOSRC
# Note: adding conmon and crun so podman command checks will work
RUN dnf -y install \
$(grep "^[^#]" $GOSRC/contrib/dependencies.txt) diffutils containers-common fuse-overlayfs conmon crun runc --exclude container-selinux; \
- sed -i -e 's|^#mount_program|mount_program|g' /etc/containers/storage.conf \
+ sed -i -e 's|^#mount_program|mount_program|g' -e 's/# size.*/skip_mount_home = "true"/g' /etc/containers/storage.conf \
&& dnf clean all
# Install dependencies
diff --git a/contrib/spec/podman.spec.in b/contrib/spec/podman.spec.in
index 9ab0db3ae..8d3cba612 100644
--- a/contrib/spec/podman.spec.in
+++ b/contrib/spec/podman.spec.in
@@ -80,8 +80,12 @@ Requires: iptables
%if 0%{?rhel} <= 7
Requires: container-selinux
%else
+%if 0%{?rhel} || 0%{?centos}
+Requires: runc
+%else
Requires: oci-runtime
Recommends: crun
+%endif
Recommends: container-selinux
Recommends: slirp4netns
Recommends: fuse-overlayfs