Skip to content

Commit

Permalink
Add docker-compose-plugin package
Browse files Browse the repository at this point in the history
Signed-off-by: Debdut Chakraborty <debdut.chakraborty@rocket.chat>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
debdutdeb authored and thaJeztah committed Apr 25, 2022
1 parent dad6f89 commit 90d0bdf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,9 @@ do_install() {
# older versions don't support a cli package
pkgs="$pkgs docker-ce-cli${cli_pkg_version%=}"
fi
if version_gte "20.10"; then
pkgs="$pkgs docker-compose-plugin"
fi
if version_gte "20.10" && [ "$(uname -m)" = "x86_64" ]; then
# also install the latest version of the "docker scan" cli-plugin (only supported on x86 currently)
pkgs="$pkgs docker-scan-plugin"
Expand Down Expand Up @@ -530,7 +533,7 @@ do_install() {
pkgs="$pkgs docker-scan-plugin"
fi
if version_gte "20.10"; then
pkgs="$pkgs docker-ce-rootless-extras$pkg_version"
pkgs="$pkgs docker-compose-plugin docker-ce-rootless-extras$pkg_version"
fi
if ! is_dry_run; then
set -x
Expand Down Expand Up @@ -609,7 +612,7 @@ do_install() {
fi
fi
if version_gte "20.10"; then
pkgs="$pkgs docker-ce-rootless-extras$pkg_version"
pkgs="$pkgs docker-compose-plugin docker-ce-rootless-extras$pkg_version"
fi
if ! is_dry_run; then
set -x
Expand Down

0 comments on commit 90d0bdf

Please sign in to comment.