Skip to content

Commit dd70a0e

Browse files
committed
rpm: docker-ce-cli: add docker-compose-plugin as "required"
Unfortunately (unlike deb packages), rpm packages do not have "soft" dependencies, so to define a relation between the docker cli and the compose-plugin, we must use "requires". Alternatively, we can omit the dependency, to make the plugin an "optional" install, and handle this through documentation, and in the script at download.docker.com. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 310bcc7 commit dd70a0e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rpm/SPECS/docker-ce-cli.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Packager: Docker <support@docker.com>
1616
# required packages on install
1717
Requires: /bin/sh
1818
Requires: /usr/sbin/groupadd
19+
Requires: docker-compose-plugin
1920
# TODO change once we support scan-plugin on other architectures
2021
%ifarch x86_64
2122
Requires: docker-scan-plugin(x86-64)

0 commit comments

Comments
 (0)