Skip to content

Commit

Permalink
Merge pull request #170 from crazy-max/docker-engine-fix_rootless-pkg
Browse files Browse the repository at this point in the history
docker-engine: fix require with rpm "docker-ce-rootless-extras" pkg
  • Loading branch information
crazy-max authored Oct 21, 2023
2 parents 4e280fb + a833566 commit 1f81d8c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkg/docker-engine/rpm/docker-ce.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,15 @@ Packager: Docker <support@docker.com>

Requires: /usr/sbin/groupadd
Requires: docker-ce-cli
# CentOS 7 and RHEL 7 do not yet support weak dependencies
#
# Note that we're not using <= 7 here, to account for other RPM distros, such
# as Fedora, which would not have the rhel macro set (so default to 0).
%if 0%{?rhel} == 7
Requires: docker-ce-rootless-extras
%else
Recommends: docker-ce-rootless-extras
%endif
Requires: container-selinux >= 2:2.74
Requires: libseccomp >= 2.3
Requires: systemd
Expand Down

0 comments on commit 1f81d8c

Please sign in to comment.