Skip to content

Commit 40fcfbb

Browse files
committed
rpm: docker-compose-plugin: do not "require" docker-ce-cli
Unlike "deb" packages, rpm package do not have "soft" requirement ("enhances", "recommends"), so having a "requires" makes the docker-cli a hard requirement. While in most situations, the plugin would be installed together with the docker cli, the plugin _is_ able to run standalone: /usr/libexec/docker/cli-plugins/docker-compose compose up [+] Running 2/2 ⠿ Network test_default Created 4.3s ⠿ Container test_web_1 Started 2.1s Attaching to web_1 web_1 | 10-listen-on-ipv6-by-default.sh: Getting the checksum of /etc/nginx/conf.d/default.conf web_1 | 10-listen-on-ipv6-by-default.sh: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf web_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh web_1 | /docker-entrypoint.sh: Configuration complete; ready for start up This removes the "Requires" annotation from the package, to simplify the dependency graph, and to allow installing the package separately (which could be for testing purposes, or for a minimal install). Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 1b08203 commit 40fcfbb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

rpm/SPECS/docker-compose-plugin.spec

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ URL: https://github.com/docker/compose-cli/
1212
Vendor: Docker
1313
Packager: Docker <[email protected]>
1414

15-
Requires: docker-ce-cli
16-
1715
BuildRequires: bash
1816

1917
%description

0 commit comments

Comments
 (0)