Commit 40fcfbb
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
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
| |||
0 commit comments