Skip to content

Commit

Permalink
Merge pull request #1124 from thaJeztah/prune_dependencies
Browse files Browse the repository at this point in the history
deb, rpm: remove libseccomp-dev, libseccomp2, libselinux-devel, selinux-policy-devel, aufs-tools dependenciies
  • Loading branch information
thaJeztah authored Dec 12, 2024
2 parents c956517 + ffad939 commit 9abf4a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
5 changes: 1 addition & 4 deletions deb/common/control
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ Build-Depends: bash,
git,
libc-dev,
libltdl-dev,
libseccomp-dev,
libseccomp2,
libsystemd-dev,
libtool,
make,
Expand All @@ -28,7 +26,6 @@ Architecture: linux-any
Depends: containerd.io (>= 1.6.24),
docker-ce-cli,
iptables,
libseccomp2 (>= 2.3.0),
${shlibs:Depends}
Recommends: apparmor,
ca-certificates,
Expand All @@ -39,7 +36,7 @@ Recommends: apparmor,
pigz,
procps,
xz-utils
Suggests: aufs-tools [amd64], cgroupfs-mount | cgroup-lite
Suggests: cgroupfs-mount | cgroup-lite
Conflicts: docker (<< 1.5~),
docker-engine,
docker.io
Expand Down
6 changes: 1 addition & 5 deletions rpm/SPECS/docker-ce.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ Requires: /usr/sbin/groupadd
Recommends: kmod
Requires: docker-ce-cli
Recommends: docker-ce-rootless-extras
Requires: container-selinux >= 2:2.74
Requires: libseccomp >= 2.3
Requires: container-selinux
Requires: systemd
Requires: iptables
%if %{undefined rhel} || 0%{?rhel} < 9
Expand All @@ -36,14 +35,11 @@ BuildRequires: gcc
BuildRequires: git
BuildRequires: glibc-static
BuildRequires: libarchive
BuildRequires: libseccomp-devel
BuildRequires: libselinux-devel
BuildRequires: libtool
BuildRequires: libtool-ltdl-devel
BuildRequires: make
BuildRequires: pkgconfig
BuildRequires: pkgconfig(systemd)
BuildRequires: selinux-policy-devel
BuildRequires: systemd-devel
BuildRequires: tar
BuildRequires: which
Expand Down

0 comments on commit 9abf4a9

Please sign in to comment.