Skip to content

Commit

Permalink
Don't dependend on libcgroup on RHEL/CentOS, as it is deprecated (and…
Browse files Browse the repository at this point in the history
… removed from RHEL/CentOS >= 9)

Signed-off-by: Romain Geissler <romain.geissler@amadeus.com>
  • Loading branch information
Romain-Geissler-1A committed Mar 29, 2022
1 parent f0188d6 commit a8e12b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rpm/SPECS/docker-ce.spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ Requires: container-selinux >= 2:2.74
Requires: libseccomp >= 2.3
Requires: systemd
Requires: iptables
%if 0%{?rhel} <= 8
# Libcgroup is no longer available in RHEL/CentOS >= 9 distros.
Requires: libcgroup
%endif
Requires: containerd.io >= 1.4.1
Requires: tar
Requires: xz
Expand Down

0 comments on commit a8e12b8

Please sign in to comment.